Re: Two cases going to same case?
| From: | Anil Kumar K. | Date: | Sun, 30 Jun 2002 17:55:53 +0000 |
| Subject: | Re: Two cases going to same case? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104586@lists.php.net to get a copy of this message | ||
Can't you write it this way?
switch( $bar) {
case 2:
...
case 1:
...
case 3:
...
}
On Sun, 30 Jun 2002, Leif K-Brooks wrote:
> I have a switch in a script I'm working on. I need to have case 1 and 2
> both to to case 3, but without case 1 going through case 2. Is this
> possible?
>
>
--
+91 471 329302 (Office)
+91 9473 22280 (Cell)
Linuxense Information Systems Pvt. Ltd., Trivandrum, India
http://www.linuxense.com