#42114 [Opn->Bgs]: If(!is_integer($_POST['T2'])){...} is_integer Doesnt work

From: Date: Thu, 26 Jul 2007 19:30:37 +0000
Subject: #42114 [Opn->Bgs]: If(!is_integer($_POST['T2'])){...} is_integer Doesnt work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-115480@lists.php.net to get a copy of this message
ID: 42114 Updated by: johannes@php.net Reported By: NeMewSys at hotmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows XP PHP Version: 5.2.3 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2007-07-26 19:09:49] NeMewSys at hotmail dot com Description: ------------ If(!is_integer($_POST['T2'])){...} This is not working. Reproduce code: --------------- If(!is_integer($_POST['T2'])){...} //This is not working. Expected result: ---------------- True or False, i only get False Actual result: -------------- False only ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42114&edit=1

« previous php.bugs (#115480) next »