Hi Marcio,
On 11 February 2015 at 20:50, Marcio Almada <[email protected]> wrote:
> Hi internals!
>
> Since no new discussion topics appeared, the voting on the Group Use
> Declarations RFC for PHP7 is now open:
>
> RFC: https://wiki.php.net/rfc/group_use_declarations#votes
> Patch: https://github.com/php/php-src/pull/1005
I like the idea (reducing the repeated namespace parts), but am not too
keen on the syntax.
If I may offer a hastily thought out, and probably terrible, idea... how
about something like "from prefix use ..." ?
To adapt an example from the RFC:
from Symfony\Component\Console\Question use
ConfirmationQuestion,
ChoiceQuestion as Choice,
OptionQuestion,
Question;
That's my two cents. Best of luck!
>
> As requested I've split the vote into two slightly different syntax
> choices, so be sure to pick the right choice if you are going to vote yes..
> The voting will close in exactly 14 days counting from now.
>
> PS: Aknowledgements to Daniel Ackroyd for reviewing this RFC.
>
> Márcio Almada
> https://github.com/marcioAlmada
>