@Dmitry that looks more like a function call, while (IMO) it is more intuitive to consider it like a static property...
Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 13 September 2012 10:17, Dmitry Stogov <dmi...@zend.com> wrote: > Hi Ralph, > > I think the syntax is wired. > Instead of classname::class I would prefer something like class(classname). > > Thanks. Dmitry. > > > On 09/11/2012 06:39 PM, Ralph Schindler wrote: > >> Hi internals! >> >> The ::class resolution proposal had significant discussion in April and >> I've updated the patch to address issues that came up then. At this >> point, I've gotten some positive feedback from various places and feel >> its time to open it up for a vote to internals. >> >> RFC: >> https://wiki.php.net/rfc/**class_name_scalars#vote<https://wiki.php.net/rfc/class_name_scalars#vote> >> >> PR: >> https://github.com/php/php-**src/pull/187<https://github.com/php/php-src/pull/187> >> >> Thanks, >> Ralph >> >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >