Re: Re: New Feature: Fully qualified class name resolution as scalar with class keyword

From: Date: Tue, 17 Apr 2012 09:14:59 +0000
Subject: Re: Re: New Feature: Fully qualified class name resolution as scalar with class keyword
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-60065@lists.php.net to get a copy of this message
May I suggest using foo::__CLASS__ instead of foo::class ? It's longer, but closer to what already exists for this semantic (class name as string), don't you think ? So, at current, is this small enough for just a pull request, or does this > deserve its own RFC? > Personnaly, I would say that an RFC would be good for historical reference and documentation. Nicolas

« previous php.internals (#60065) next »