Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3575 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41438 invoked from network); 23 Jul 2003 11:49:51 -0000 Received: from unknown (HELO bugge.potatoe.com) (216.240.48.15) by pb1.pair.com with SMTP; 23 Jul 2003 11:49:51 -0000 Received: from potatoe.com (localhost [127.0.0.1]) by bugge.potatoe.com (8.12.9/8.12.2) with ESMTP id h6NBpva6012555; Wed, 23 Jul 2003 04:51:57 -0700 (PDT) Message-ID: <3F1E76DC.9080102@potatoe.com> Date: Wed, 23 Jul 2003 04:51:56 -0700 Organization: The Madfish Group User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030716 Thunderbird/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: empty() and property-less objects From: tater@potatoe.com (Brad Bulger) 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?