Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47889 invoked from network); 2 Apr 2010 21:04:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Apr 2010 21:04:35 -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 63.205.162.117 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Received: from [63.205.162.117] ([63.205.162.117:43975] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/22-44965-1EB56BB4 for ; Fri, 02 Apr 2010 16:04:35 -0500 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id 442F243F86; Fri, 2 Apr 2010 14:03:35 -0700 (PDT) Received: from [192.168.16.93] ([192.168.16.93]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 2 Apr 2010 14:04:29 -0700 Message-ID: <4BB65BDE.2040302@zend.com> Date: Fri, 02 Apr 2010 14:04:30 -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: Ralph Schindler CC: internals References: <4BB4EC2F.1020502@smashlabs.com> In-Reply-To: <4BB4EC2F.1020502@smashlabs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Apr 2010 21:04:29.0558 (UTC) FILETIME=[15CD1160:01CAD2A8] Subject: Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements From: stas@zend.com (Stanislav Malyshev) Hi! > class Filter { > public function __construct() { /* construct stuff */ } > public function filter($value) { /* return filtered */ } > } > > Produces: > > PHP Strict Standards: Redefining already defined constructor for > class Zend\Filter\Filter in [snip file] on line [snip line] I just checked - this code produces the same warning in 5.2 (without the namespace of course), and in 5.3.0. So I don't see what changed in 5.3.1 exactly? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com