PHP 4.0 Bug #9881: Varibles are not defined
| From: | echoz at k-designs dot com dot sg | Date: | Tue, 20 Mar 2001 19:56:11 +0000 |
| Subject: | PHP 4.0 Bug #9881: Varibles are not defined | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49548@lists.php.net to get a copy of this message | ||
From: echoz@k-designs.com.sg
Operating system: Win95
PHP version: 4.0.4pl1
PHP Bug Type: Variables related
Bug description: Varibles are not defined
<?php
switch ($e) {
case "list";
// do this
break;
case "add";
// do that
break;
}
?>
everytime i call the script without the varible "e" specified... they will return
"Warning: Undefined variable: e in e:somewheresomehow on line 14"
please help.
--
Edit Bug report at: http://bugs.php.net/?id=9881&edit=1