Re: 回复: [PHP-DEV] Re: 回复: [PHP -DEV] [RFC] Proposal namespace importing with from syntax
| From: | Laruence | Date: | Wed, 25 Jul 2012 06:58:12 +0000 |
| Subject: | Re: 回复: [PHP-DEV] Re: 回复: [PHP -DEV] [RFC] Proposal namespace importing with from syntax | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61740@lists.php.net to get a copy of this message | ||
On Wed, Jul 25, 2012 at 2:54 PM, Leigh <leight@gmail.com> wrote:
> What about expanding the syntax instead of introducing new reserved words.
>
> use A\B {
> Class1,
> Class2
> }
better than from :). and a little consistent with use traits in class
thanks
--
Laruence Xinchen Hui
http://www.laruence.com/