Re: [RFC] Access to aliases definition by reflection
| From: | Andrea Faulds | Date: | Mon, 13 Oct 2014 14:12:25 +0000 |
| Subject: | Re: [RFC] Access to aliases definition by reflection | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77923@lists.php.net to get a copy of this message | ||
On 13 Oct 2014, at 13:55, Miloslav Hůla <miloslav.hula@gmail.com> wrote:
> I've written an RFC which proposes to expose a namespace aliases/imports for user-land
> code.
>
> https://wiki.php.net/rfc/aliases_by_reflection
Looks good, but:
1. I think you should also support function aliases here. Constants too would be good, but I’m not
sure if they’re actually implemented as aliases (they might just be copies).
2. Shouldn’t it return fully-qualified class names beginning with a backslash?
--
Andrea Faulds
http://ajf.me/