Hi,

2015-02-13 18:37 GMT+01:00 Lester Caine <les...@lsces.co.uk>:
> On 13/02/15 17:27, Andrea Faulds wrote:
>>>> But with Marcio’s proposal, we could instead write this:
>>>> >>
>>>> >>    use function SomeLibrary\Math\{sin, cos, tan, degrees, radius};
>>> >
>>> > Well it used to be simply ...
>>> >
>>> > require SomeLibrary\math.php;
>> I can’t say I miss the days of putting everything in the global namespace. 
>> Makes it impossible to use two libraries with conflicting function names.
>
> Well one fix would be to have all the namespace stuff in the math.php
> file? All the use function stuff just loaded via the secondary file.

You would still need to import those functions into the current
namespace. Hence this rfc

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to