{"action":"created","issue":{"url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2383","labels_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2383/labels{/name}","comments_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2383/comments","events_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2383/events","html_url":"https://github.com/symphonycms/symphony-2/issues/2383","id":63277095,"number":2383,"title":"Add ctype support in General::intval","user":{"login":"nitriques","id":771169,"avatar_url":"https://avatars.githubusercontent.com/u/771169?v=3","gravatar_id":"","url":"https://api.github.com/users/nitriques","html_url":"https://github.com/nitriques","followers_url":"https://api.github.com/users/nitriques/followers","following_url":"https://api.github.com/users/nitriques/following{/other_user}","gists_url":"https://api.github.com/users/nitriques/gists{/gist_id}","starred_url":"https://api.github.com/users/nitriques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitriques/subscriptions","organizations_url":"https://api.github.com/users/nitriques/orgs","repos_url":"https://api.github.com/users/nitriques/repos","events_url":"https://api.github.com/users/nitriques/events{/privacy}","received_events_url":"https://api.github.com/users/nitriques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-20T18:16:03Z","updated_at":"2015-03-23T20:58:46Z","closed_at":null,"body":"I've found those to be quite useful.\r\n\r\nhttp://php.net/manual/en/function.ctype-digit.php\r\n\r\nMaybe we should consider using it here: https://github.com/symphonycms/symphony-2/blob/master/symphony/lib/toolkit/class.general.php#L1622-L1628 ?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/symphonycms/symphony-2/issues/comments/85193936","html_url":"https://github.com/symphonycms/symphony-2/issues/2383#issuecomment-85193936","issue_url":"https://api.github.com/repos/symphonycms/symphony-2/issues/2383","id":85193936,"user":{"login":"jensscherbl","id":1640033,"avatar_url":"https://avatars.githubusercontent.com/u/1640033?v=3","gravatar_id":"","url":"https://api.github.com/users/jensscherbl","html_url":"https://github.com/jensscherbl","followers_url":"https://api.github.com/users/jensscherbl/followers","following_url":"https://api.github.com/users/jensscherbl/following{/other_user}","gists_url":"https://api.github.com/users/jensscherbl/gists{/gist_id}","starred_url":"https://api.github.com/users/jensscherbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensscherbl/subscriptions","organizations_url":"https://api.github.com/users/jensscherbl/orgs","repos_url":"https://api.github.com/users/jensscherbl/repos","events_url":"https://api.github.com/users/jensscherbl/events{/privacy}","received_events_url":"https://api.github.com/users/jensscherbl/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T20:58:46Z","updated_at":"2015-03-23T20:58:46Z","body":"> I was thinking about\r\n\r\nSo we add more code in order to use another function sometimes, and in cases where that function doesn't work we fall back to our existing code that works in all situations? Think about it... ;)"}}