Re: [VOTE] ::class feature to resolve namespaced class names to scalars

From: Date: Fri, 14 Sep 2012 08:40:05 +0000
Subject: Re: [VOTE] ::class feature to resolve namespaced class names to scalars
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-62998@lists.php.net to get a copy of this message
Patrick ALLAERT wrote: > 2012/9/14 Dmitry Stogov <dmitry@zend.com>: >> Finally, may be SOMETHING::__CLASS__ is a bit more clear than >> SOMETHING::class. > > That is the reason why I voted "no", but more because of the token > used than the feature. > I previously stated that I preferred __CLASS__ as well to be more in > line with what we currently have, I haven't changed my mind since the > arguments provided didn't convinced me at all. I somewhat agree; using __CLASS__ would make it more obvious that it's compile-time rather than runtime, IMO. -- Ryan McCue <http://ryanmccue.info/>

« previous php.internals (#62998) next »