note 11425 added to switch
| From: | vasek1 at atlas dot cz | Date: | Tue, 20 Feb 2001 16:04:11 +0000 |
| Subject: | note 11425 added to switch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11310@lists.php.net to get a copy of this message | ||
Reply to note <24-Jan-2001 01:11> from "roel.spam.protect@2e-systems.com":
I think it is not a strange behavior of 'case' but a bug in your code. At the second line
(in both examples) should be "switch (true) {".
http://www.php.net/manual/en/control-structures.switch.php