Re: Re: [RFC] Importing namespaced functions
| From: | Igor Wiedler | Date: | Thu, 08 Aug 2013 18:43:38 +0000 |
| Subject: | Re: Re: [RFC] Importing namespaced functions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68447@lists.php.net to get a copy of this message | ||
Yes, aliases are supported just as you would expect. I will add an example to the RFC.
Thanks,
Igor
On Aug 8, 2013, at 8:17 PM, "Robert Stoll" <rstoll@tutteli.ch> wrote:
> Hi Igor,
>
> Personally I like your RFC. I also like the fact that it is possible to
> "replace" built-in functions where desired by declaring a corresponding use
> statement.
> I do not see aliases in your RFC but I guess it would also be possible to
> write things like: use function foo\bar as foo;
>
> cheers,
> Robert