Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88616 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39642 invoked from network); 1 Oct 2015 17:57:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2015 17:57:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:34583] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/92-26330-3047D065 for ; Thu, 01 Oct 2015 13:57:24 -0400 Received: by wicfx3 with SMTP id fx3so1927938wic.1 for ; Thu, 01 Oct 2015 10:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=Sl1ttD/kPwkPXesOrsq/0qr1mEXKhaU3HwDPLj75U24=; b=Rms3N6GuPqIU0mdgHdJ9ys6ZIGSN3CPZt42xb+wgmbB3ugLzV1kudvRAT8GnXyskpR Sh+z4WaIWXYuOQs9ilc7hBQuNIM6qUaUPLARo2PKPy1suwSN/ktmEdQfMmH2ewvyaxWE l5BYXmmoZcbaSB4I3hnusPoVJp9IHtWEOScWu5pJRAFrIbHk9utobs8i7Di4y1R2IV02 AIwb+OyunrlddjmQ8bKdxwNmqyz+liklfFbkzKQROPG+WJxtecnVuk8QKDjwXleDocM2 fNGa3YlrtvdKCOYGfMeXCuBxp8dDMJZRVtUnqlSmpN2Rgq2UuJD3qDYFzp6fiDNvHPp+ NHQw== X-Received: by 10.180.88.4 with SMTP id bc4mr128904wib.68.1443722240926; Thu, 01 Oct 2015 10:57:20 -0700 (PDT) Received: from [192.168.0.161] ([62.189.198.114]) by smtp.googlemail.com with ESMTPSA id az6sm4319470wib.12.2015.10.01.10.57.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Oct 2015 10:57:20 -0700 (PDT) To: Levi Morrison , "internals@lists.php.net" References: <5606D0EB.3060106@gmail.com> <560D0F94.8060009@gmail.com> <560D282F.6060202@gmail.com> Message-ID: <560D73FA.8070802@gmail.com> Date: Thu, 1 Oct 2015 18:57:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Arrow function expressions in PHP From: rowan.collins@gmail.com (Rowan Collins) Levi Morrison wrote on 01/10/2015 18:40: >> Or we can figure out some other such symbol. Worse casing no white space, >> brain storming: > Please, I already asked people to stop making suggestions for shorter > syntax for `use()`. I tried to move the discussion to whether or not auto-capturing variables is a good idea, regardless of syntax, but the responses continue to be of the form "but that particular example syntax looks a bit ugly". So I agree, let's not discuss the details of ANY syntax, until we've come to some conclusion on whether or not auto-capture is a negotiable feature. > Again, if use() is a pain then auto-importing the > used variables is a good solution. If it's not a pain why are you > suggesting new syntax? I thought I'd answered this already - because some people dislike the *verbosity* of "use" (and of the syntax in general) but are happy with the *functionality*. You are assuming that "I think the current syntax is verbose" is synonymous with "I think having to list captured variables is annoying", but there are people who do not take that position. Regards, -- Rowan Collins