note 91527 deleted from function.is-null by danbrown

From: Date: Mon, 15 Jun 2009 12:18:25 +0000
Subject: note 91527 deleted from function.is-null by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156872@lists.php.net to get a copy of this message
Note Submitter: jefklak at gmail dot com ---- fuzzystudio's "no property class == null" logic is not correct. any instance of a class, whether it contains properties, none, functions or none, tests false to == null. I've tested his own example and everything prints not null. This may be a difference in the PHP4/5 version (using 5.2.9-1).

« previous php.notes (#156872) next »