[PHP-DEV] PHP 4.0 Bug #7539: switch statement only process first 7 cases and default From: razno <email protected>
Date: 10/30/00

From: razno <email protected>
Operating system: Redhat 7
PHP version: 4.0.3pl1
PHP Bug Type: Unknown/Other Function
Bug description: switch statement only process first 7 cases and default

#### EXAMPLE:
switch ($rubrika) {
 case 01: $rubrika = "showbiz"; break;
 case 02: $rubrika = "politika"; break;
 case 03: $rubrika = "sport"; break;
 case 04: $rubrika = "avto"; break;
 case 05: $rubrika = "zabava"; break;
 case 06: $rubrika = "ljubezen"; break;
 case 07: $rubrika = "zdravje"; break;
 case 08: $rubrika = "znanost"; break;
 case 09: $rubrika = "racunalnistvo"; break;
 default: $rubrika = "racunalnistvo";
}
#### PHP COMPILE LINE
./configure --with-apache=../apache_1.3.12 --enable-track-vars --with-mysql --with-gdlib --with-imap=/test/imap-4.7b/c-client

-- 
Edit Bug report at: http://bugs.php.net/?id=7539&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>