ID: 5288
Updated by: sterling
Reported By: Tomas V.V.Cox <[EMAIL PROTECTED]>
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 4.0.1
New Comment:

No, it would be very wierd.  ;)
seriously, php is not bash, it has a lot of other neat
functions/methods to make this work much easier.


Previous Comments:
------------------------------------------------------------------------

[2000-06-30 19:47:12] Tomas V.V.Cox <[EMAIL PROTECTED]>

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

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=5288&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to