note 91527 added to function.is-null

From: Date: Mon, 15 Jun 2009 10:11:43 +0000
Subject: note 91527 added to function.is-null
Groups: php.notes 
Request: Send a blank email to php-notes+get-156871@lists.php.net to get a copy of this message
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). ---- Server IP: 64.71.164.2 Probable Submitter: 193.190.120.66 ---- Manual Page -- http://www.php.net/manual/en/function.is-null.php Edit -- https://master.php.net/note/edit/91527 Del: integrated -- https://master.php.net/note/delete/91527/integrated Del: useless -- https://master.php.net/note/delete/91527/useless Del: bad code -- https://master.php.net/note/delete/91527/bad+code Del: spam -- https://master.php.net/note/delete/91527/spam Del: non-english -- https://master.php.net/note/delete/91527/non-english Del: in docs -- https://master.php.net/note/delete/91527/in+docs Del: other reasons-- https://master.php.net/note/delete/91527 Reject -- https://master.php.net/note/reject/91527 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156871) next »