Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47802 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17460 invoked from network); 6 Apr 2010 11:31:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2010 11:31:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.211.200 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.211.200 mail-yw0-f200.google.com Received: from [209.85.211.200] ([209.85.211.200:55498] helo=mail-yw0-f200.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/4B-49863-6AB1BBB4 for ; Tue, 06 Apr 2010 07:31:51 -0400 Received: by ywh38 with SMTP id 38so1250202ywh.29 for ; Tue, 06 Apr 2010 04:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=Y2UCwCc6UKswgXOK4wlr3cuBGV+qmgbC23px/y3sgCo=; b=nx6xjHGP5ugP4Uotpjk5c6LkF5VJ5gaAzE0tjqL6TdtWxm4gaBEZMlrDUtarTPkHPQ q48madhSGiBIJkvqaG3ozYC9y9ru0Oagz2Yr/AVRjQl8IebnZqiw9C67IgF+YMrbahH1 9pjWFn1EB7r3gSpQUxntXHk9ieT40SibsfcrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QfW/3SEny3Xkuz7MQN6Vu/qhu0IBjy5nlXSS5jRBoSJyLo8hGP2ECv4WL+KudE4UuH b9ixC5CK4KyJzBp4bqBYrImH6kABN9eE5zbg9AtJQok7iMEmnRv6fXjxe/L7ZGJLOza0 e0d5BZSFNeSt3wGjRm89EIN+sYu2D5h3UydjM= MIME-Version: 1.0 Received: by 10.100.111.4 with HTTP; Tue, 6 Apr 2010 04:31:46 -0700 (PDT) In-Reply-To: References: <4BB4EC2F.1020502@smashlabs.com> <4BB4F16B.7020402@zend.com> <4BB4F50D.9090006@zend.com> <4BB4FCC0.3010301@zend.com> <1270312532.16398.4122.camel@guybrush> <4BB920A6.1050304@zend.com> Date: Tue, 6 Apr 2010 13:31:46 +0200 Received: by 10.101.178.8 with SMTP id f8mr15768703anp.213.1270553506512; Tue, 06 Apr 2010 04:31:46 -0700 (PDT) Message-ID: To: RQuadling@googlemail.com Cc: Stanislav Malyshev , =?ISO-8859-1?Q?Johannes_Schl=FCter?= , internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements From: pierre.php@gmail.com (Pierre Joye) 2010/4/6 Richard Quadling : > I've just done a quick check on PEAR/packages-all with regard to > classes using __construct vs the class name. > > 818 classes have __construct > 1511 use the class name as the constructor > 3563 files don't have a constructor > > I excluded tests, examples and documentation (but some may have crept in). You missed a critical part of this change: When it is inside a Namespace. I very much doubt that many PEAR packages actually use namespaces or even 5.3 only (not badly meant). Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org