Re: Grouping use declarations in php 7
| From: | Christoph Becker | Date: | Wed, 15 Jul 2015 23:46:26 +0000 |
| Subject: | Re: Grouping use declarations in php 7 | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-21513@lists.php.net to get a copy of this message | ||
Eligijus Lipskis wrote:
> For:
>
> use Foo\Bar\Email;
> use Foo\Bar\Phone;
> use Foo\Bar\Address\Code;
> use Foo\Bar\Address\Number;
>
> The solution is:
>
> use Foo\Bar\{
> Email,
> Phone,
> Address\Code,
> Address\Number
> };
>
> Why can't we group use declarations this way ?
> use Foo\Bar\{
> Email,
> Phone,
> Address\{Code, Number}
> };
Wrong mailing list[1]. Contact either php-general@lists.php.net or
internals@lists.php.net, depending on whether this is a question or a
feature request. In the latter case consider to alternatively open a
ticket on <https://bugs.php.net/>.
Either way, I suggest to read through
<http://markmail.org/thread/eid2lx6zn7rubb5q>
first – especially
<http://markmail.org/thread/eid2lx6zn7rubb5q#query:+page:1+mid:kc4d5b4bi2p23kl4+state:results>.
[1] <http://php.net/mailing-lists.php>
--
Christoph M. Becker