Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81520 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42215 invoked from network); 1 Feb 2015 05:39:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2015 05:39:26 -0000 Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:33626] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/DE-01632-90CBDC45 for ; Sun, 01 Feb 2015 00:39:22 -0500 Received: by mail-la0-f53.google.com with SMTP id gq15so32066280lab.12 for ; Sat, 31 Jan 2015 21:39:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=3+eefLE9i507nQIpWK76++XHAxNl7MOchhoXf/TGtro=; b=LuShRTp4unG6bxPe17X18EbOU5gC4b0ak2uk4hOoA+cXA+6CBPBv169DNNXyfuFxOi X5XIRn3P5CY01UuAiRw+q5Rok1DYCilzyXgVsIDluIVq3RylwgxNRnZ77+Bm09lD1C04 EyVjXsDvsh9GB5bXH+0TFWS0SkQPuIwcVJ1AZDOgNa1ayyO9nfjP9e7PdgjueSMbLoac cDfi5ZreeLyBHxEz2aMbaQOMHdFmm2z7oQoetsdiOkMWLBeaKCYKB7fRjRpTrnyn1JWO YANU//Y1UfTS9PJ7xDDVqhHQ3LjSTXwDhb8VcAf3ZdD/I0nCitN0Y4eqGkulPHex695M xZ3g== X-Received: by 10.152.28.37 with SMTP id y5mr13626778lag.55.1422769158574; Sat, 31 Jan 2015 21:39:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.21.101 with HTTP; Sat, 31 Jan 2015 21:38:58 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: References: Date: Sun, 1 Feb 2015 02:38:58 -0300 Message-ID: To: Leigh Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0158ca024b59b0050e004215 Subject: Re: [PHP-DEV][RFC][DISCUSSION] Group Use Declarations From: marcio.web2@gmail.com (Marcio Almada) --089e0158ca024b59b0050e004215 Content-Type: text/plain; charset=UTF-8 Hi, Leigh > Feels a lot like Rust > > http://doc.rust-lang.org/reference.html#use-declarations Yes, indeed Rust language is cited on the references section. > I'm not opposed to the suggestion, we really should have a shorthand > for condensing use declarations That's good to know, During the research phase it became obvious that a majority part of the user base would like to have a shorthand syntax for use declarations. > I just wonder if it could feel more "PHP". We tried other syntaxes and this one seemed the most appropriate because: a) Looks a lot like the already implemented traits conflict resolution b) Doesn't require to reserve new keywords c) It requires a minimal implementation and is easy to read and parse > Maybe I'm just nitpicking and it will grow on me :) FYI, suggestions for alternatives are still welcome. But I really hope you end up liking the current proposal even more. Thanks. --089e0158ca024b59b0050e004215--