PHP 4.0 Bug #5288: bash style case for switch()
| From: | Tomas V . V . Cox | Date: | Fri, 30 Jun 2000 17:47:12 +0000 |
| Subject: | PHP 4.0 Bug #5288: bash style case for switch() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22842@lists.php.net to get a copy of this message | ||
From: Tomas V.V.Cox <cox@idecnet.com>
Operating system: Any
PHP version: 4.0.1
PHP Bug Type: Feature/Change Request
Bug description: bash style case for switch()
It could be very usefull if we can have, a bash style switch support. Ex:
switch ($foo){
case ("1"):
echo "hello";
break;
case ("2"):
case ("1"): // <-- something like this
echo "bye";
break;
}
Thanks