#22994 [NEW]: if ( $something == "NAME") { print $something } prints "0"

From: Date: Mon, 31 Mar 2003 22:49:43 +0000
Subject: #22994 [NEW]: if ( $something == "NAME") { print $something } prints "0"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36860@lists.php.net to get a copy of this message
From: hermandepauw at hotmail dot com Operating system: Red Hat Linux PHP version: 4.3.0 PHP Bug Type: Unknown/Other Function Bug description: if ( $something == "NAME") { print $something } prints "0" if ( $something == "NAME") { print $something } prints "0" the main problem is in the summary ... example code and source on http://www.deparadox.be/php/ i don't know the explain it in words so get a view ... code is only ~10 lines -- Edit bug report at http://bugs.php.net/?id=22994&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22994&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22994&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22994&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22994&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22994&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22994&r=support Expected behavior: http://bugs.php.net/fix.php?id=22994&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22994&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22994&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22994&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22994&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22994&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22994&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22994&r=gnused

« previous php.bugs (#36860) next »