Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46613 invoked from network); 1 Apr 2010 19:33:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2010 19:33:40 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:34682] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/50-44965-215F4BB4 for ; Thu, 01 Apr 2010 14:33:39 -0500 Received: from us-gw1.zend.com (unknown [192.168.16.5]) by il-mr1.zend.com (Postfix) with ESMTP id 8AE47504F4; Thu, 1 Apr 2010 22:13:26 +0300 (IDT) Received: from [192.168.16.93] ([192.168.16.93]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 1 Apr 2010 12:33:32 -0700 Message-ID: <4BB4F50D.9090006@zend.com> Date: Thu, 01 Apr 2010 12:33:33 -0700 Organization: Zend Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Pierre Joye CC: Ralph Schindler , internals References: <4BB4EC2F.1020502@smashlabs.com> <4BB4F16B.7020402@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Apr 2010 19:33:32.0885 (UTC) FILETIME=[36F51850:01CAD1D2] Subject: Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements From: stas@zend.com (Stanislav Malyshev) Hi! > Well, I think the question here is more about dropping old style > constructor that case sensitive functions/methods name. I'm in favour > of dropping in php-next. I don't feel comfortable with dropping class-named ctor altogether (big BC issue) but dropping it in NS-classes seems to be easier (technically, it's NOT the same name - the real class name is namespace\class) and would solve 99% of the problem without having almost any BC impact. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com