note 36775 added to control-structures.switch
| From: | wese at rn2 dot php dot net | Date: | Wed, 22 Oct 2003 06:02:24 +0000 |
| Subject: | note 36775 added to control-structures.switch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59092@lists.php.net to get a copy of this message | ||
$var = "+3"; // results as digit = 3
$var = "3"; // results as digit = 3
u shoult define it as string otherwise it wont work that way u try it.
----
Manual Page -- http://www.php.net/manual/en/control-structures.switch.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36775
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36775&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36775&report=yes
Search -- http://master.php.net/manage/user-notes.php