note 88146 deleted from function.define by danbrown

From: Date: Tue, 13 Jan 2009 01:28:50 +0000
Subject: note 88146 deleted from function.define by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-149117@lists.php.net to get a copy of this message
Note Submitter: mparkin ---- To: mittin provence at yahoo dot se You are incorrect, this is the expected output. when you do: $name = 0; if ($name == myDefinedName) you are really doing: if( $name == (int)myDefinedName) Since myDefinedName does not start with any intergers it is cast to 0 and 0 == $name

« previous php.notes (#149117) next »