note 44891 added to control-structures.switch
| From: | tores at stud dot cs dot uit dot no | Date: | Thu, 19 Aug 2004 14:02:03 +0000 |
| Subject: | note 44891 added to control-structures.switch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79790@lists.php.net to get a copy of this message | ||
I did require_once on this file. Suddenly my script terminated without giving me any notice during
the call to require_once. It turned out that an error in one of my switches caused this. I did
"case default:" instead of just "default:".
So to everyone with the same problem, maybe this is what's causing it.
----
Manual Page -- http://www.php.net/manual/en/control-structures.switch.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44891
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44891&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44891&report=yes
Search -- http://master.php.net/manage/user-notes.php