#29030 [NEW]: "for" loop sample on documentation doesn't work

From: Date: Tue, 06 Jul 2004 13:50:07 +0000
Subject: #29030 [NEW]: "for" loop sample on documentation doesn't work
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361709@lists.php.net to get a copy of this message
From: yuw@php.net Operating system: Linux PHP version: 4.3.6 PHP Bug Type: Documentation problem Bug description: "for" loop sample on documentation doesn't work Description: ------------ A sample on http://www.php.net/manual/en/control-structures.for.php does not work. not work: for ($i = 1; $i <= 10; echo $i, $i++); #work: # for ($i = 1; $i <= 10; print $i, $i++); Expected result: ---------------- 12345678910 -- Edit bug report at http://bugs.php.net/?id=29030&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29030&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29030&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29030&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29030&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29030&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29030&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29030&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29030&r=support Expected behavior: http://bugs.php.net/fix.php?id=29030&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29030&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29030&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29030&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29030&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29030&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29030&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29030&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29030&r=float

« previous php.doc (#969361709) next »