# empty() and property-less objects

- Thread: https://externals.io/message/3575
- Original archive: https://news-web.php.net/php.internals/3575
- Started by Brad Bulger on 2003-07-23T11:51:56+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #3575 — Brad Bulger — 2003-07-23T11:51:56+00:00

URL: https://externals.io/message/3575#3575

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?
