note 25702 added to control-structures.switch
| From: | php-general at lists dot php dot net | Date: | Wed, 02 Oct 2002 16:35:19 +0000 |
| Subject: | note 25702 added to control-structures.switch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37555@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?
--
http://www.php.net/manual/en/control-structures.switch.php
http://master.php.net/manage/user-notes.php?action=edit+25702
http://master.php.net/manage/user-notes.php?action=delete+25702
http://master.php.net/manage/user-notes.php?action=reject+25702