empty() and property-less objects

From: Date: Wed, 23 Jul 2003 11:51:56 +0000
Subject: empty() and property-less objects
Groups: php.internals 
Request: Send a blank email to internals+get-3575@lists.php.net to get a copy of this message
excuse question, but it seemed too trivial for a bug report. for class foo {}, $x = new foo;, in php4 empty($x) is true. in php5, empty($x) is false. is this correct?

« previous php.internals (#3575) next »