Why does is_int always return false in the following situation?
is_int
echo $_GET[\'id\']; //3 if(is_int($_GET[\'id\'])) echo \'int\'; //not execut
It's probably stored as a string in the $_GET, cast it to an int.