Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
Newsgroups
»
php.internals
»
empty() and property-less objects
»
empty() and property-less objects
php.internals
Brad Bulger
23 years ago
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?