I\'m encountering something weird and I don\'t know why it is happening!
I have a URL like:
http://mysite.com/users/USER_ID
USER_ID
this user id
The integer value of var on success, or 0 on failure. Empty arrays return 0, non-empty arrays return 1. (From php.net intval().)
intval('abcdefg') will trigger an error and the function return with 0.