note 32906 added to control-structures.declare
| From: | csnyder at rack1 dot php dot net | Date: | Tue, 10 Jun 2003 15:44:02 +0000 |
| Subject: | note 32906 added to control-structures.declare | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50111@lists.php.net to get a copy of this message | ||
better correct the tests at the end of the above code to use equivalent "==" not equal
"=" otherwise the condition will always be true:
if ($contents=="run") {
// do stuff
}
elseif ($contents=="stop") {
exit();
}
----
Manual Page -- http://www.php.net/manual/en/control-structures.declare.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32906
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32906&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32906&report=yes