Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62008 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77994 invoked from network); 3 Aug 2012 15:22:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2012 15:22:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:65496] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/AB-09659-BBCEB105 for ; Fri, 03 Aug 2012 11:22:36 -0400 Received: by vcbgb30 with SMTP id gb30so912535vcb.29 for ; Fri, 03 Aug 2012 08:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kgO/LrmTs4h3gMfL3Dd0RFRBxo2YdLseyJR6h8iv9kk=; b=JjgL52hn0lSu6woJ35VqaUukIvgP4gcsvt8SHu/RF38fVLnAmRlCTib+/NpaRPHfqf wFjT8Oy0lQtQR2nMWz8vepCqff+UADredjCarrs8AI7CMZ1G42vvXBEECra3G49vkAqe OrRSrzt0aUm47hHAE4y/dYreU6APoACRiGLVPt7/U4/404ak4phChxB1co4i0kkLqHRt m38auc1OaBTGF0zZr+liy8LM4ZOouvaeHC/jwJTtGUcm/RNkRIBMvFwaRBU3sV3Yscqp 0sPMlHzYR3DnNhYn18jRbE6JjNyY/1Un68UNSFDEz1bZzEwRijpyaipLglINkZ1hQxBM 7drQ== Received: by 10.52.27.244 with SMTP id w20mr1392774vdg.67.1344007352561; Fri, 03 Aug 2012 08:22:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.168.226 with HTTP; Fri, 3 Aug 2012 08:21:52 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Aug 2012 16:21:52 +0100 Message-ID: To: Rasmus Schultz Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] missing documentation for use-clause in closures? From: petercowburn@gmail.com (Peter Cowburn) On 3 August 2012 16:09, 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? > https://edit.php.net/ -- Go wild. :-)