PHP 4.0 Bug #3136: switch case and unsetted variable
| From: | bago at datasail dot net | Date: | Fri, 07 Jan 2000 16:45:58 +0000 |
| Subject: | PHP 4.0 Bug #3136: switch case and unsetted variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14362@lists.php.net to get a copy of this message | ||
From: bago@datasail.net
Operating system: FreeBSD 3.3
PHP version: 4.0 Latest CVS (07/01/2000)
PHP Bug Type: Misbehaving function
Bug description: switch case and unsetted variable
switch($unsettedvar) {
case '0': print('HELLO'); break;
}
it prints HELLO..
php3 and php4beta3 printed nothing at all...