Re: switch()
| From: | Ray Hauge | Date: | Tue, 29 Aug 2006 18:49:46 +0000 |
| Subject: | Re: switch() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241191@lists.php.net to get a copy of this message | ||
On Tuesday 29 August 2006 13:44, Ray Hauge wrote:
> Using a switch like this is more equivalent of
>
> if(something){
> // true
> } else {
> // false
> }
Actually, it's more like an if/elseif/else (if you use default:) or if/elseif
(without default:)
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099