Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8410 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23207 invoked by uid 1010); 6 Mar 2004 18:44:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23140 invoked from network); 6 Mar 2004 18:44:16 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.177) by pb1.pair.com with SMTP; 6 Mar 2004 18:44:16 -0000 Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AzgmW-0005HW-00 for internals@lists.php.net; Sat, 06 Mar 2004 19:44:16 +0100 Received: from [80.139.5.208] (helo=[80.139.5.208]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AzgmW-0003m0-00 for internals@lists.php.net; Sat, 06 Mar 2004 19:44:16 +0100 To: internals@lists.php.net In-Reply-To: <1078584828.266.48.camel@localhost> References: <1078074613.1440.9.camel@localhost> <1078074613.1440.9.camel@localhost> <5.1.0.14.2.20040304140729.02098198@127.0.0.1> <1078584828.266.48.camel@localhost> Content-Type: multipart/mixed; boundary="=-AAXDl5o3rcuxv9Xk3nzc" Message-ID: <1078598384.266.60.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 06 Mar 2004 19:39:44 +0100 X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e958292ea7b1c44e51b2b9ca0a9da460 Subject: Re: [PHP-DEV] BC break: $o= new stdclass; empty($o) From: thekid@thekid.de (Timm Friebe) --=-AAXDl5o3rcuxv9Xk3nzc Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sat, 2004-03-06 at 15:53, Timm Friebe wrote: [...] > I'm not sure whether this affects a lot of users, and as noone has > commented on it, I guess PHP5 will get away with this break:) > > I'll just have to find a workaround if you insist the PHP4 behaviour is > broken:) Additionally, it should be mentioned in README.PHP4-TO-PHP5-THIN-CHANGES - Timm --=-AAXDl5o3rcuxv9Xk3nzc Content-Disposition: attachment; filename=changes.diff Content-Type: text/x-patch; name=changes.diff; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Index: README.PHP4-TO-PHP5-THIN-CHANGES =================================================================== RCS file: /repository/php-src/README.PHP4-TO-PHP5-THIN-CHANGES,v retrieving revision 1.15 diff -u -r1.15 README.PHP4-TO-PHP5-THIN-CHANGES --- README.PHP4-TO-PHP5-THIN-CHANGES 12 Feb 2004 14:44:58 -0000 1.15 +++ README.PHP4-TO-PHP5-THIN-CHANGES 6 Mar 2004 18:42:43 -0000 @@ -68,3 +68,13 @@ will be a fatal error like : Fatal error: Class 'fubar' not found in .... If there is defined function __autoload() it will be called. + +9. An object with no properties is no longer considered "empty". + --=-AAXDl5o3rcuxv9Xk3nzc--