Bug #14054: Error evaluating the Intval function

From: Date: Wed, 14 Nov 2001 16:24:21 +0000
Subject: Bug #14054: Error evaluating the Intval function
Groups: php.dev 
Request: Send a blank email to php-dev+get-70460@lists.php.net to get a copy of this message
From: shiva@paraffa.org Operating system: Windows 2000 Server PHP version: 4.0.4pl1 PHP Bug Type: *Regular Expressions Bug description: Error evaluating the Intval function Hi, See this simple script <? if (intval($val) == $val) echo "$val is equal to".intval($val); else echo "$val is not equal to".intval($val); ?> If i put a string in $val...for example "ABC" ad i run the script...PHP print:"ABC is equal to 0" Thanks for all your work that give me a work ^_^' -- Edit bug report at: http://bugs.php.net/?id=14054&edit=1

« previous php.dev (#70460) next »