#23518 [NEW]: with wrong for loop unexpected behavior

From: Date: Wed, 07 May 2003 00:31:25 +0000
Subject: #23518 [NEW]: with wrong for loop unexpected behavior
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39194@lists.php.net to get a copy of this message
From: beyerlin at magic-garden dot de Operating system: openbsd3.2 PHP version: 4.3.1 PHP Bug Type: Scripting Engine problem Bug description: with wrong for loop unexpected behavior when using a comma instead of a semicolon, nothing is echoed, also when the loop is uncommented and/or in an uncalled function. echo "start": for( $x=0;$x<100,$x++) { echo $x; } echo "end"; -- Edit bug report at http://bugs.php.net/?id=23518&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23518&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23518&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23518&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23518&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23518&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23518&r=support Expected behavior: http://bugs.php.net/fix.php?id=23518&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23518&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23518&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23518&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23518&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23518&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23518&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23518&r=gnused

« previous php.bugs (#39194) next »