note 75923 deleted from language.types.boolean by colder

From: Date: Fri, 22 Jun 2007 06:59:42 +0000
Subject: note 75923 deleted from language.types.boolean by colder
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-127882@lists.php.net to get a copy of this message
Note Submitter: cardoe at gentoo dot org ---- It'd probably be good to note that on PHP 5.2.1, false was not equal to FALSE in all situations. if (strpos("abcdef", "z") === false) echo "test\n"; var_dump(strpos("abcdef", "z")); produced: bool(false) However, if you used FALSE in the if statement you got: test bool(false)

« previous php.notes (#127882) next »