Bug #65902 [NEW]: Document Use Keyword for Anonymous Functions

From: Date: Tue, 15 Oct 2013 17:30:54 +0000
Subject: Bug #65902 [NEW]: Document Use Keyword for Anonymous Functions
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10498@lists.php.net to get a copy of this message
From:             cbarna at theatlantic dot com
Operating system: 
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Bug
Bug description:Document Use Keyword for Anonymous Functions

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 bug report at https://bugs.php.net/bug.php?id=65902&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=65902&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=65902&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=65902&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65902&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65902&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65902&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65902&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65902&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65902&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65902&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=65902&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=65902&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65902&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65902&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65902&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65902&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65902&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65902&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65902&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65902&r=mysqlcfg



Thread (3 messages)

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