Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47717 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49338 invoked from network); 1 Apr 2010 19:40:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2010 19:40:32 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:51905] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/F0-44965-EA6F4BB4 for ; Thu, 01 Apr 2010 14:40:31 -0500 Received: by wwc33 with SMTP id 33so1047245wwc.29 for ; Thu, 01 Apr 2010 12:40:27 -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=naMI+36QeR2PLJjgnx/4M2ra2kfKtvdbyGp+r5uzcZw=; b=hqTbClpJxdm0cc3lbj1EVDUFwd+TlaI+Mpa1vJV9G5nZSP5DO7ghe4vFC7rB3w8hEj qZqiKrJIXSenXRg75i+zDFxSsLnKS7tFCqs5YM0kEOOZxHtjZNc9cX3XfLTUzp2+1vjW dXfXQ2QzHtU2TbQtoVt1+kaj5RHohqCHxiNyk= 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=sRYskexZHSHuUlu+cwFW3LHqLCFQtooepqVljFr1dL40EJF/4y+xSywlm8EW9RVSnF EpSz+MRA35voOtZWwRkk+dipunHkWRTYhhDOE3bXUJnIjJK/yvskZ/4Rh7G999+XRoUK YuuGTD8/GWdWwx2RsDvsskNn+R1FlML3P0pvo= MIME-Version: 1.0 Received: by 10.216.176.71 with HTTP; Thu, 1 Apr 2010 12:40:27 -0700 (PDT) In-Reply-To: <4BB4F50D.9090006@zend.com> References: <4BB4EC2F.1020502@smashlabs.com> <4BB4F16B.7020402@zend.com> <4BB4F50D.9090006@zend.com> Date: Thu, 1 Apr 2010 21:40:27 +0200 Received: by 10.216.156.203 with SMTP id m53mr603361wek.209.1270150827846; Thu, 01 Apr 2010 12:40:27 -0700 (PDT) Message-ID: To: Stanislav Malyshev Cc: Pierre Joye , Ralph Schindler , internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements From: hannes.magnusson@gmail.com (Hannes Magnusson) On Thu, Apr 1, 2010 at 21:33, Stanislav Malyshev wrote: > 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. Ouhgawd yes. Please drop support for oldstyle-ctor-in-namespaces. Its a big PITA, and nearly no BC break. I would even consider it a bug fix :] -Hannes