#45006 [NEW]: Manual shows deprecated approach
| From: | florian dot ember at gmail dot com | Date: | Thu, 15 May 2008 12:32:36 +0000 |
| Subject: | #45006 [NEW]: Manual shows deprecated approach | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-823@lists.php.net to get a copy of this message | ||
From: florian dot ember at gmail dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Manual shows deprecated approach
Description:
------------
The manual page on substr() shows how to access string offsets without
using substr(), but does this using braces rather than square array
brackets.
Reproduce code:
---------------
http://php.net/function.substr, example #3
--
Edit bug report at http://bugs.php.net/?id=45006&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45006&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45006&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45006&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45006&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45006&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45006&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45006&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45006&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45006&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45006&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45006&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45006&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45006&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45006&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45006&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45006&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45006&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45006&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45006&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45006&r=mysqlcfg