Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25631 invoked from network); 9 Sep 2017 09:28:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2017 09:28:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilija.tovilo@me.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ilija.tovilo@me.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain me.com designates 17.110.69.135 as permitted sender) X-PHP-List-Original-Sender: ilija.tovilo@me.com X-Host-Fingerprint: 17.110.69.135 mr11p00im-asmtp004.me.com Received: from [17.110.69.135] ([17.110.69.135:50092] helo=mr11p00im-asmtp004.me.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/D5-10715-234B3B95 for ; Sat, 09 Sep 2017 05:28:18 -0400 Received: from process-dkim-sign-daemon.mr11p00im-asmtp004.me.com by mr11p00im-asmtp004.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0OW000400A4LQ400@mr11p00im-asmtp004.me.com> for internals@lists.php.net; Sat, 09 Sep 2017 09:28:15 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1504949295; bh=5VI2gBNfIYlvs8EuwRnNhrDazE4qQMNU4gLvJ8qFxK0=; h=Date:From:To:Message-id:Subject:MIME-version:Content-type; b=aZMH28tl1X/9O3KHLP0REY1PCAWmPryLdE7CmeSZ/h7u8e8bPsVq7hfVN9rBHkm2d QEpfE2YLtUOvh/ynmZw/mBUlI9Tm22puikJsk/SXm7x+u1Wp4w2eQwLrSscbbFlBnU Yn5SgXLAPzOhm5HjwIRJT+L79PwjXjF1AwSZ/h8juYr4uGc72EPSYXzxPFOBS3zLe3 O6J1cqN3byAMg5cZEzlke3p0uT822DqeF0Jltku4U4NA9FCeBqpfmuswgjrhDXPe21 uH8gQwi4nAXRfkSvZWawV889MpKjULiwLVFSbyejiyCZ7wQ9K57dBbrVsBWrdWa0nW tRCfbn2K5zhpQ== Received: from icloud.com ([127.0.0.1]) by mr11p00im-asmtp004.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0OW000F14AAXSS00@mr11p00im-asmtp004.me.com>; Sat, 09 Sep 2017 09:28:13 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-09_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=72 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709090147 Date: Sat, 09 Sep 2017 11:27:54 +0200 To: Andrea Faulds , internals@lists.php.net, Tom Worster Message-ID: In-reply-to: References: <82.32.10715.A8E03B95@pb1.pair.com> X-Readdle-Message-ID: aaf36de7-d5c4-4b04-b8d2-8182c0f6f0fa@Spark MIME-version: 1.0 Content-type: multipart/alternative; boundary=59b3b427_66334873_17f67 Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Operator functions From: ilija.tovilo@me.com --59b3b427_66334873_17f67 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I also love this idea=21 This and short arrow functions and I=E2=80=99m golden (in terms of closur= es at least) :) Regards On 9 Sep 2017, 03:31 +0200, Tom Worster , wrote: > On 8 Sep 2017, at 17:41, Andrea =46aulds wrote: > > > Hi everyone=21 > > > > Here's an R=46C for a small, simple, self-contained feature with no > > backwards-compatibility breaks and which in fact doesn't even touch > > the language's syntax (it's 50%+1 eligible=21) but which could make P= HP > > a bit more expressive and consistent, especially with potential later= > > features. It even has a test designed to impose minimal maintenance > > burden while testing a fairly large possibility space=21 > > > > Anyway, the R=46C in question is this: > > https://wiki.php.net/rfc/operator=5Ffunctions > > > > Please tell me what you think and suggest any potential improvements > > or anything you think might have been an omission. > > Yes=21 > > I have wanted this for many years. In the first programming language in= > which I achieved real proficiency, this was vernacular. It would make m= e > happy to return to it in the language I now use most. An anonymous > function that turns an operator into three lines looks dumb and makes m= e > sad. > > Tom > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --59b3b427_66334873_17f67--