{"action":"closed","issue":{"url":"https://api.github.com/repos/zubfatal/php-session-cleaner/issues/3","repository_url":"https://api.github.com/repos/zubfatal/php-session-cleaner","labels_url":"https://api.github.com/repos/zubfatal/php-session-cleaner/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/zubfatal/php-session-cleaner/issues/3/comments","events_url":"https://api.github.com/repos/zubfatal/php-session-cleaner/issues/3/events","html_url":"https://github.com/zubfatal/php-session-cleaner/issues/3","id":150975500,"number":3,"title":"Why is the eval needed?","user":{"login":"rugk","id":11966684,"avatar_url":"https://avatars.githubusercontent.com/u/11966684?v=3","gravatar_id":"","url":"https://api.github.com/users/rugk","html_url":"https://github.com/rugk","followers_url":"https://api.github.com/users/rugk/followers","following_url":"https://api.github.com/users/rugk/following{/other_user}","gists_url":"https://api.github.com/users/rugk/gists{/gist_id}","starred_url":"https://api.github.com/users/rugk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rugk/subscriptions","organizations_url":"https://api.github.com/users/rugk/orgs","repos_url":"https://api.github.com/users/rugk/repos","events_url":"https://api.github.com/users/rugk/events{/privacy}","received_events_url":"https://api.github.com/users/rugk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T20:41:52Z","updated_at":"2016-04-26T12:16:58Z","closed_at":"2016-04-26T12:16:58Z","body":"eval does not sound so nice. ;)\r\n\r\nCan't it be avoided? \r\n\r\nActually Debians default cron script (in `/usr/lib/php5/sessionclean`) does it like this: \r\n\r\n```sh\r\nfind -O3 \"$save_path\" -depth -mindepth 1 -name 'sess_*' -ignore_readdir_race -type f -cmin \"+$gc_maxlifetime\" -delete\r\n```"}}