PHP 4.0 Bug #9881 Updated: Varibles are not defined

From: Date: Tue, 20 Mar 2001 20:11:06 +0000
Subject: PHP 4.0 Bug #9881 Updated: Varibles are not defined
Groups: php.dev 
Request: Send a blank email to php-dev+get-49550@lists.php.net to get a copy of this message
ID: 9881 Updated by: derick Reported By: echoz@k-designs.com.sg Old-Status: Open Status: Bogus Bug Type: Variables related Assigned To: Comments: Read www.php.net/error_reporting please, this is not a bug Previous Comments: --------------------------------------------------------------------------- [2001-03-20 14:56:11] echoz@k-designs.com.sg <?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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9881&edit=2

« previous php.dev (#49550) next »