Bug #2368: switch command bug
| From: | cd_record at mycar dot co dot il | Date: | Thu, 23 Sep 1999 21:43:37 +0000 |
| Subject: | Bug #2368: switch command bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11256@lists.php.net to get a copy of this message | ||
From: cd_record@mycar.co.il
Operating system: win95
PHP version: 3.0.11
PHP Bug Type: Misbehaving function
Bug description: switch command bug
when using switch command on an empty or null variable,
when getting to case 08, it commits it...
for example :
<?
$aa="";
switch($aa)
{
caes 01:
echo "a";
break;
caes 08:
echo "b";
break;
}
this will display 'b'