I can't think of any good use case for a bulk import outside of laziness.
Any good IDE will handle this for you and if you are importing as \ then
why don't you just not namespace them in the first place.

On Mon, Mar 2, 2015 at 11:33 PM, Stanislav Malyshev <smalys...@gmail.com>
wrote:

> Hi!
>
> > I would love to have namespace that could be imported like
> >
> > namespace \php\7\function\* as \; // Import all functions to \
> > namespace \php\7\function\* as \;
>
> Please no. When we designed namespaces, we explicitly omitted bulk
> imports, and the reasons that were true then are still true now. Bulk
> imports are a road to a huge mess and return to the same problem
> namespaces were created to fix.
>
> --
> Stas Malyshev
> smalys...@gmail.com
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to