Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60090 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30223 invoked from network); 17 Apr 2012 18:16:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2012 18:16:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=ivan.enderlin@hoa-project.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ivan.enderlin@hoa-project.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hoa-project.net from 87.106.212.190 cause and error) X-PHP-List-Original-Sender: ivan.enderlin@hoa-project.net X-Host-Fingerprint: 87.106.212.190 s15355703.onlinehome-server.info Linux 2.6 Received: from [87.106.212.190] ([87.106.212.190:42607] helo=s15355703.onlinehome-server.info) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/FA-03996-C63BD8F4 for ; Tue, 17 Apr 2012 14:16:13 -0400 Received: from Hwhost2.local (unknown [209.104.70.126]) by s15355703.onlinehome-server.info (Postfix) with ESMTPA id 69FDCE40B0 for ; Tue, 17 Apr 2012 20:16:09 +0200 (CEST) Message-ID: <4F8DB368.4010203@hoa-project.net> Date: Tue, 17 Apr 2012 14:16:08 -0400 Reply-To: ivan.enderlin@hoa-project.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120415 Thunderbird/13.0a2 MIME-Version: 1.0 To: internals@lists.php.net References: <4F89D4F1.8070009@ralphschindler.com> <4F8D843D.8070706@ralphschindler.com> In-Reply-To: <4F8D843D.8070706@ralphschindler.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] New Feature: Fully qualified class name resolution as scalar with class keyword From: ivan.enderlin@hoa-project.net ("Ivan Enderlin @ Hoa") Hi Ralph, On 17/04/12 10:54, Ralph Schindler wrote: > I've also added an RFC page, any thoughts on improving the RFC? > > * https://wiki.php.net/rfc/class_name_scalars Are you sure that the example section is correct? Because your first var_dump is Moo::CLASS but the symbol Moo does not exist yet, only the class Foo\Bar\Baz was declared at this point. Btw, interesting patch and nice implementation. I approved. Best regards. -- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://lifc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/