From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to