PHP 4.0 Bug #6599: strange behaviour in for loops with strings++

From: Date: Thu, 07 Sep 2000 12:53:53 +0000
Subject: PHP 4.0 Bug #6599: strange behaviour in for loops with strings++
Groups: php.dev 
Request: Send a blank email to php-dev+get-32538@lists.php.net to get a copy of this message
From: adobernig@netway.at Operating system: LINUX RH 6.1 PHP version: 4.0.2 PHP Bug Type: Strings related Bug description: strange behaviour in for loops with strings++ for ($char="A";$char<="Z";$char++) { echo "$char - "; } the last char displayed by this script is not "Z" but "YZ" with ever other letter it works as it should

« previous php.dev (#32538) next »