note 99472 deleted from language.types.null by danbrown

From: Date: Mon, 04 Oct 2010 15:07:12 +0000
Subject: note 99472 deleted from language.types.null by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-172942@lists.php.net to get a copy of this message
Note Submitter: 2489271 at gmail dot com ---- Beware that in comparison using '==' string 'null' equals to 0. <?php var_dump(0=='null'); var_dump(0==null); var_dump(null=='null'); ?> Outputs true true false When '===' is used, results are as expected.

« previous php.notes (#172942) next »