note 25702 rejected from control-structures.switch by nicos
| From: | nicos@php.net | Date: | Wed, 02 Oct 2002 17:10:22 +0000 |
| Subject: | note 25702 rejected from control-structures.switch by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-37562@lists.php.net to get a copy of this message | ||
I see a lot of switch (true) 's going on; I wasn't able to get them to work. I looked it
up here, and I noticed that switch only works with strings, integers, and doubles that means no
booleans.
Have any of you tested the code and made it work?