Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62013 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85888 invoked from network); 3 Aug 2012 16:05:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2012 16:05:02 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:46607] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/4D-09659-DA6FB105 for ; Fri, 03 Aug 2012 12:05:01 -0400 Received: by vbbfs19 with SMTP id fs19so921539vbb.29 for ; Fri, 03 Aug 2012 09:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IJEQqC3KFTOX6mnUM8Q2hTSNFWCgYLpmH8kCBPtBhgU=; b=r6Y8eJ7c0b83HRd7JzG/ZhqpsQv1raU+4Oe11BVXj3Mpkp4lw5SefCdYGSej1d1aBK 6LRNa0b9Zmr+UUOEIxk5hSQAJpkxSEkS4bwDC5SyB23DUDtigi+IROCaTMHvTQVon7h6 RL4/XLfRsvy5O6crOQZnuQ2p5PRe1fxJaHAo61OslDTlCFqiDjuwbH5BqvJpPfKBxZ2y 2MMvp5EMhGfYA0t2NrDdUTvMGv5EueCAizBj+8JQgV+eD1ibb5AZ5d6RCXurJjwZJbFz THCrphuoxlxA3Tt8UyxwoJRUtTa91WMB3XcOM79TDzO3QUaHz0p8tjlG5wJt0hs8jLgQ 6IMw== MIME-Version: 1.0 Received: by 10.52.100.4 with SMTP id eu4mr1501662vdb.66.1344009898786; Fri, 03 Aug 2012 09:04:58 -0700 (PDT) Received: by 10.58.216.166 with HTTP; Fri, 3 Aug 2012 09:04:58 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Aug 2012 18:04:58 +0200 Message-ID: To: Rasmus Schultz Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf3071c710977fb004c65eb0e5 Subject: Re: [PHP-DEV] missing documentation for use-clause in closures? From: tyra3l@gmail.com (Ferenc Kovacs) --20cf3071c710977fb004c65eb0e5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Aug 3, 2012 at 5:53 PM, Ferenc Kovacs wrote: > > > On Fri, Aug 3, 2012 at 5:09 PM, Rasmus Schultz wrote= : > >> Is this all the documentation there is for the use-clause for >> anonymous closures? >> >> http://us2.php.net/manual/en/functions.anonymous.php >> >> For one, it would be nice to have documentation that explains whether >> the variables listed in the use-clause are copied/referenced at >> declaration-time or at call-time? >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > would be nice having more docs on that. > there are the two rfc's: https://wiki.php.net/rfc/closures and > https://wiki.php.net/rfc/closures/object-extension but make sure to test > because AFAIR the rfc is a little bit behind the current implementation. > > > See also the discussion at http://www.mail-archive.com/internals@lists.php.net/msg53817.html --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --20cf3071c710977fb004c65eb0e5--