Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66044 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75604 invoked from network); 20 Feb 2013 10:15:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2013 10:15:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:43136] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/BA-19387-752A4215 for ; Wed, 20 Feb 2013 05:15:52 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 3F46DDE13D; Wed, 20 Feb 2013 10:15:48 +0000 (GMT) Date: Wed, 20 Feb 2013 10:15:48 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Levi Morrison cc: Sean Coates , Florin Razvan Patan , Marcello Duarte , PHP Internals In-Reply-To: Message-ID: References: <8490FC41-2696-4948-83A1-3931674183B0@gmail.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] [RFC] Short syntax for anonymous functions From: derick@php.net (Derick Rethans) On Tue, 19 Feb 2013, Levi Morrison wrote: > > Have you considered how this will work/look in an array? > > > > $a = [$b => ($n) $m => $m * $n]; // wat. > > First off, it should be: > > $a = [$b => ($n) |$m| => $m * $n]; > > The || make a big difference in this situation. It still looks like some random characters bashed together by a monkey with a keyboard. cheers, Derick