Re: Re: [RFC] Importing namespaced functions

From: 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 [email protected] 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" <[email protected]> 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



Thread (37 messages)

« previous php.internals (#68447) next »