On 13 Oct 2014, at 15:14, Marco Pivetta <ocram...@gmail.com> wrote: > On 13 October 2014 16:12, Andrea Faulds <a...@ajf.me> wrote: > 2. Shouldn’t it return fully-qualified class names beginning with a backslash? > > When in string context, we are typically always talking about FQCNs, so the > leading backslash is not needed and should be omitted.
I disagree. It shouldn’t be implicitly fully-qualified. If there’s no leading backslash, then you have to add one to actually use it. If it’s a FQCN it should have a \. If and only if it is not a FQCN, it should lack a \. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php