Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59862 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37114 invoked from network); 13 Apr 2012 08:31:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 08:31:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:50328] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/40-35770-054E78F4 for ; Fri, 13 Apr 2012 04:31:12 -0400 Received: by yhfq11 with SMTP id q11so1682651yhf.29 for ; Fri, 13 Apr 2012 01:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=L4QlkDF4BNc3Mi1QTupGj4eL1XQZecd3BpO+DaPZ33A=; b=bQNUrD5cr3s6By1lVJQBcPmQFcO4TUrd+1W7Vk5vrPkBCytK4Po1W1XcVBSD9E1NHE lPDxTq+0zhUjIyMPpfrbpj20RZCDgjdtfyztyvs6emwwDu2BtaV63zrRR/YCWwR6kgKm bFl6dT9Xqpu0j/GmMwD5bfbcKZB6yf4IZ4pkysA51Suh5NKMOCz9LAmvflQjRYYA02KP LAwMcywjSVXgWCO3zfErPQ8j2wiMkrstMhhVMmC94hxT/i3H6q9qcVUbLyuGiRIfBGLM CvPG0SNyZN1LgNILMsB/boIoyemwGi4UePdEq09rE+2NJq1AHEH3uFHqzSv4afIM118n /6ZA== Received: by 10.236.192.138 with SMTP id i10mr829731yhn.62.1334305869335; Fri, 13 Apr 2012 01:31:09 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.146.86.14 with HTTP; Fri, 13 Apr 2012 01:30:29 -0700 (PDT) In-Reply-To: References: <4F87DF77.7040608@mail.by> Date: Fri, 13 Apr 2012 17:30:29 +0900 X-Google-Sender-Auth: loi3p2-Neu_l6QZUUKsX1FbkphI Message-ID: To: Verbitsky Alexander Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Allow "use( $longname as $alias)" syntax for closures declaration From: yohgaki@ohgaki.net (Yasuo Ohgaki) 2012/4/13 Yasuo Ohgaki : > > I would rather have this. > function FUNC($a, $b, $c) uses ($d, $e, $f) {} > Then it would be consistent with anonymous function. Oops. It became consistent, but there would be no use with PHP. As it cannot pollute global vars. -- Yasuo Ohgaki yohgaki@ohgaki.net