Bug #65902 [Opn]: Document `use` Keyword for Anonymous Functions

From: Date: Tue, 15 Oct 2013 17:36:34 +0000
Subject: Bug #65902 [Opn]: Document `use` Keyword for Anonymous Functions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10499@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65902&edit=1

 ID:                 65902
 User updated by:    cbarna at theatlantic dot com
 Reported by:        cbarna at theatlantic dot com
-Summary:            Document Use Keyword for Anonymous Functions
+Summary:            Document use Keyword for Anonymous Functions
 Status:             Open
 Type:               Bug
 Package:            Documentation problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Put quotes around use in title.


Previous Comments:
------------------------------------------------------------------------
[2013-10-15 17:30:54] cbarna at theatlantic dot com

Description:
------------
http://php.net/manual/en/functions.anonymous.php

The documentation for anonymous functions is lacking any mention of the use keyword
introduced in PHP 5.3. However, the use keyword is used in a code sample without
comment. This is confusing for a user who stumbles upon the keyword and doesn't know what it
does.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65902&edit=1


Thread (3 messages)

« previous php.doc.bugs (#10499) next »