#26759 [NEW]: php documentation examples contain slow code
| From: | kennyt@php.net | Date: | Thu, 01 Jan 2004 03:46:16 +0000 |
| Subject: | #26759 [NEW]: php documentation examples contain slow code | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969357799@lists.php.net to get a copy of this message | ||
From: kennyt@php.net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: php documentation examples contain slow code
Description:
------------
The php.net manual contains lots of examples that use
less than desirable coding styles, such as unnecessary
double quotes, concatenation in output (echo
'foo'.$bar;), bloaty loops (foreach(), which wastes
memory, when just a while() is needed), etc.
I'm happy to hit a good number of these pages, but I
don't want to get killed over it. ;-)
--
Edit bug report at http://bugs.php.net/?id=26759&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26759&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26759&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26759&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26759&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26759&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26759&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26759&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26759&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26759&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26759&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26759&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26759&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26759&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26759&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26759&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26759&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26759&r=float