PHP 4.0 Bug #5469: null string tests equal to integer zero
| From: | bill at rsv dot ricoh dot com | Date: | Sat, 08 Jul 2000 18:46:02 +0000 |
| Subject: | PHP 4.0 Bug #5469: null string tests equal to integer zero | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23828@lists.php.net to get a copy of this message | ||
From: bill@rsv.ricoh.com
Operating system: RH6.1
PHP version: 4.0.1pl2
PHP Bug Type: Scripting Engine problem
Bug description: null string tests equal to integer zero
if (0*0 =="")
echo "<font color='red'>Oops! 0 == \"\"</font>";
else
echo "<font color='green'>OK 0 != \"\"</font>";
'./configure' '--with-mysql' '--with-apache=../apache_1.3.12'
'--enable-track-vars'