Edit report at http://bugs.php.net/bug.php?id=54307&edit=1
ID: 54307 User updated by: jball606 at gmail dot com Reported by: jball606 at gmail dot com Summary: isset && is_numeric Status: Open Type: Feature/Change Request Package: Output Control Operating System: *nix & windows PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: I learned you can bypass the warning with the reference to a variable function bob(&$fred) wont give me the notice of undefined variable. My Bad. Previous Comments: ------------------------------------------------------------------------ [2011-03-18 12:42:00] jball606 at gmail dot com Description: ------------ I would kill for a way to do isset && check if the value is s specific data type such as numeric. My code is loaded with if(isset($a) && is_numeric($a)). It would be nice to do that in a single function (isset($a,[is_numeric])). Thank you taking the time to read my request. Expected result: ---------------- $var = isset($a,[is_numeric]); $var = true,false Actual result: -------------- $var = isset($a,[is_numeric]); $var = true,false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54307&edit=1