From: [EMAIL PROTECTED] Operating system: SUN PHP version: 4.1.2 PHP Bug Type: *Regular Expressions Bug description: Nested If block not execute correctly
if ( ( $name != "test1" ) || ( $name != "test2" ) ) does not work properly. if I Do each condition seperately, it works but If I join them using || then this never works however this works fine if ( ( $name == "test1" ) || ( $name == "test2" ) ) it seems like the problem occurs only with "!=" condition -- Edit bug report at http://bugs.php.net/?id=16223&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16223&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16223&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16223&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16223&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16223&r=support Expected behavior: http://bugs.php.net/fix.php?id=16223&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16223&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16223&r=submittedtwice