On Thu, Oct 30, 2014 at 2:43 AM, Miloslav Hůla <miloslav.h...@gmail.com> wrote: > Dne 13.10.2014 14:55, Miloslav Hůla napsal(a): >> >> I've written an RFC which proposes to expose a namespace aliases/imports >> for user-land code. > > > Good morning internals, > > it has been two weeks since I announced this RFC in this list. I hope all > the questions and remarks have been answered. If so, I would like to open > voting process in next week. > > https://wiki.php.net/rfc/aliases_by_reflection > > (thread of discussion http://php.markmail.org/thread/oqcifqndca4a5tj6)
I also don't think this feature is needed. In comments, simply use fully qualified names. Additionally, I really don't see how these are related to each other: use Library\Http; class C {} $rc = new ReflectionClass('c'); var_dump($rc->getDefinedAliases()); /* array(1) { ["http"] => string(12) "Library\Http" } */ How is ReflectionClass C related to `Library\HTTP` at all? Definitely a -1 from me. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php