Hey Igor,
I love the RFC, but how about:
use bar\baz() as baz;
As an alternative to "use function". Still new syntax, but a little less
wordy. I have nothing for "use const", but "use const" feels more natural
to me than "use function" does.
Just an idea for pondering!
Dan
On Thu, Aug 8, 2013 at 2:44 PM, Michael Wallner <mike@php.net> wrote:
> On 8 August 2013 14:29, Igor Wiedler <igor@wiedler.ch> wrote:
> > Hi everyone,
> >
> > I just wanted to bump this topic, since there's not been much feedback
> during the last few weeks. Comments on the patch are also welcome.
> >
> > RFC: https://wiki.php.net/rfc/use_function
> > Patch: https://github.com/php/php-src/pull/388
> >
>
> I like it. It improves the state for non-OOP in PHP.
>
> --
> Regards,
> Mike
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>