unexpected for-loop operation

From: Date: Fri, 20 Sep 2002 18:14:24 +0000
Subject: unexpected for-loop operation
Groups: php.dev 
Request: Send a blank email to php-dev+get-88507@lists.php.net to get a copy of this message
I know there is a better way to do that, and this code is silly, but still... Try running these two loops in PHP 4.2.3. for($i = 'A'; $i <= 'Y'; $i++){ echo "$i "; } for($i = 'A'; $i <= 'Z'; $i++){ echo "$i "; } Notice the difference in output. Is this the expected result? Vlad -- Vlad Krupin Software Engineer echospace.com

« previous php.dev (#88507) next »