Bug #65902 [Opn]: Document `use` Keyword for Anonymous Functions
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)