Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65946 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51274 invoked from network); 19 Feb 2013 13:34:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2013 13:34:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.85 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.85 blu0-omc2-s10.blu0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.55.111.85] ([65.55.111.85:47922] helo=blu0-omc2-s10.blu0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/36-17768-86F73215 for ; Tue, 19 Feb 2013 08:34:34 -0500 Received: from BLU0-SMTP273 ([65.55.111.72]) by blu0-omc2-s10.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 19 Feb 2013 05:34:30 -0800 X-EIP: [sw7RoU50MXiOwnq8xlcHJ/B2nga3AmPS] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Received: from bob-weinands-imac.fritz.box ([88.207.224.52]) by BLU0-SMTP273.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 19 Feb 2013 05:34:28 -0800 MIME-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Disposition-Notification-To: bobwei9@hotmail.com In-Reply-To: <8490FC41-2696-4948-83A1-3931674183B0@gmail.com> Date: Tue, 19 Feb 2013 14:34:25 +0100 CC: PHP Mailing List Developers Content-Transfer-Encoding: quoted-printable References: <8490FC41-2696-4948-83A1-3931674183B0@gmail.com> To: Marcello Duarte X-Mailer: Apple Mail (2.1499) X-OriginalArrivalTime: 19 Feb 2013 13:34:28.0341 (UTC) FILETIME=[D736D250:01CE0EA5] Subject: Re: [PHP-DEV] [RFC] Short syntax for anonymous functions From: bobwei9@hotmail.com (Bob Weinand) Hi, I don't really like to write every time a "long" 'function()', only for = passing a little callback like 'function ($v) { var_dump($v); }'...: Nice proposal, but writing the last argument outside of the function = call could be confusing... An user-function is not a language construct = (like while etc.) regards, Bob Am 19.2.2013 um 13:57 schrieb Marcello Duarte : > Inspired by Sara, here is another RFC, I finally got around to draft: >=20 > https://wiki.php.net/rfc/short-syntax-for-anonymous-function >=20 > Please feedback, > -- > Marcello Duarte