#22995 [Csd->Bgs]: if ( $something == "NAME") { print $something } prints "0"

From: Date: Mon, 31 Mar 2003 23:05:13 +0000
Subject: #22995 [Csd->Bgs]: if ( $something == "NAME") { print $something } prints "0"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36870@lists.php.net to get a copy of this message
ID: 22995 Updated by: pollita@php.net Reported By: hermandepauw at hotmail dot com -Status: Closed +Status: Bogus Bug Type: Unknown/Other Function Operating System: Red Hat Linux PHP Version: 4.3.0 New Comment: Both this and the original version qualify as bogus as it's a scripting error and not a bug in PHP itself. Previous Comments: ------------------------------------------------------------------------ [2003-03-31 16:52:32] hermandepauw at hotmail dot com Due to traffic probs this bug was submitted twice ... my excuses ------------------------------------------------------------------------ [2003-03-31 16:47:37] hermandepauw at hotmail dot com 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 this bug report at http://bugs.php.net/?id=22995&edit=1

« previous php.bugs (#36870) next »