Doc #65699 [NEW]: Problem in comment section for end() documentation
| From: | joem at numberfour dot eu | Date: | Wed, 18 Sep 2013 16:26:30 +0000 |
| Subject: | Doc #65699 [NEW]: Problem in comment section for end() documentation | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10267@lists.php.net to get a copy of this message | ||
From: joem at numberfour dot eu
Operating system:
PHP version: Irrelevant
Package: *General Issues
Bug Type: Documentation Problem
Bug description:Problem in comment section for end() documentation
Description:
------------
---
From manual page: http://www.php.net/function.end
---
In comment
this line: $lastkey = array_pop(array_keys($arr));
Would result in:
Strict standards: Only variables should be passed by reference in php shell
code
on line 1
--
Edit bug report at https://bugs.php.net/bug.php?id=65699&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65699&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65699&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65699&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65699&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65699&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65699&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65699&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65699&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65699&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65699&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65699&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65699&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65699&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65699&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65699&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65699&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65699&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65699&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65699&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65699&r=mysqlcfg