Re: multiple use
| From: | Hannes Magnusson | Date: | Sun, 01 Jun 2008 16:43:34 +0000 |
| Subject: | Re: multiple use | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38057@lists.php.net to get a copy of this message | ||
On Sun, Jun 1, 2008 at 6:09 PM, Stanislav Malyshev <stas@zend.com> wrote:
> Hi!
>
> Attached is the patch that implements multiple elements in use statement,
> like this:
>
> use foo::bar as baz, foo::baz as bazbaz;
>
> Any objections to it?
Yes.
I find the whole namespace issue complicated enough as it is.
"importing" multiple namespaces and "aliasing" various
classess/functions all in one line decreases the readability imo.
-Hanens