Re: [RFC] Importing namespaced functions
| From: | Igor Wiedler | Date: | Wed, 21 Aug 2013 11:16:08 +0000 |
| Subject: | Re: [RFC] Importing namespaced functions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68592@lists.php.net to get a copy of this message | ||
Hi,
I just looked into the first issue you mentioned. The following does not produce a warning either
currently:
use bar as bar;
As such, I would say that it would be inconsistent to produce a warning for functions. Do you agree?
Regards,
Igor
On Aug 19, 2013, at 3:32 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> RFC: https://wiki.php.net/rfc/use_function
>> Patch: https://github.com/php/php-src/pull/388
>
> Looking at the patch:
>
> 1. use function bar as bar;
> does not produce any warning