Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82503 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96244 invoked from network); 11 Feb 2015 23:50:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2015 23:50:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:54739] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/05-02515-6DAEBD45 for ; Wed, 11 Feb 2015 18:50:46 -0500 Received: by mail-wi0-f180.google.com with SMTP id h11so367250wiw.1 for ; Wed, 11 Feb 2015 15:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5iiJlJNOU3vGA1mN0TXC7X3VE3HqM4SXqbYztvYi214=; b=oVfPe8NF3ILb2gjnE6o+6xI2jbuoAU8R3PXuKYR7iTQtdXqI2S8/BR/mnWyQiy4O3H nN4c9KLCrfVGHimVhzOPS25Gt126iV0quaqXnGjXN+0amXc4dzObIQ95juQPBA5pIhNS v8fpQ9oMJTfCjeqQpWnjeGgK/lGYczuq+wjgs+AG11RJFHOCI4lCG9hsxgT6Eksjuq3r fjqMwC8YVoR9iYlRefECC41e0gAl/rVM+rlY4GalOXeTPsN18GNmitJ3UTUYr+XGBrtI KMYBkm1sZCNtXxgH89Zy7DyjznkDANyJGh0hy60pEwPnDc7+bwJ8rId1Oks2Q0kV+TJ4 4ZvQ== X-Received: by 10.194.157.68 with SMTP id wk4mr1814855wjb.123.1423698643044; Wed, 11 Feb 2015 15:50:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.27.226.16 with HTTP; Wed, 11 Feb 2015 15:50:02 -0800 (PST) In-Reply-To: References: Date: Wed, 11 Feb 2015 23:50:02 +0000 Message-ID: To: marcio3w@gmail.com Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0112cbfce2d258050ed8abc3 Subject: Re: [PHP-DEV][RFC][VOTE] Group Use Declarations From: petercowburn@gmail.com (Peter Cowburn) --089e0112cbfce2d258050ed8abc3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Marcio, On 11 February 2015 at 20:50, Marcio Almada 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=C3=A1rcio Almada > https://github.com/marcioAlmada > --089e0112cbfce2d258050ed8abc3--