Date: 05/06/00
- Next message: Stig Venaas: "[PHP-DEV] sets"
- Previous message: barmeier <email protected>: "[PHP-DEV] PHP 4.0 Bug #4339: Authentication fails always after installing ISAPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: barmeier <email protected>
Operating system: NT4 SP5 IIs4
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Scripting Engine problem
Bug description: Switch fails with empty variables
Tho following script produces an undesired result if
$k is never used before.
switch ($k){
case '0':
echo "OOPS nothing is equal to the charachter 0 ??";
break;
default:
echo "Everything is fine !";
break;
}
-- 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>
- Next message: Stig Venaas: "[PHP-DEV] sets"
- Previous message: barmeier <email protected>: "[PHP-DEV] PHP 4.0 Bug #4339: Authentication fails always after installing ISAPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

