ID: 21979 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: windows 2000 PHP Version: 4.3.0 New Comment:
erm, where in the manual did you see the first version? Previous Comments: ------------------------------------------------------------------------ [2003-01-31 06:41:42] [EMAIL PROTECTED] 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 = is not the same as == ------------------------------------------------------------------------ [2003-01-31 06:36:42] [EMAIL PROTECTED] can't work a script $r=0; if ($r=1) {$a=1;} //comparison on equal else {$a=0;} print "Result=$a"; i see always "Result=1" but can work a script $r=0; if ($r==1) {$a=1;} //comparison on identical else {$a=0;} print "Result=$a"; i did see manual of PHP what must work both ways ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21979&edit=1