note 23600 added to control-structures.switch

From: Date: Tue, 23 Jul 2002 13:24:44 +0000
Subject: note 23600 added to control-structures.switch
Groups: php.notes 
Request: Send a blank email to php-notes+get-33427@lists.php.net to get a copy of this message
Currently you can't store the case statements of a switch in an include file. ie the following code generates a parse error switch($i) { include "cases.inc"; } no matter what the contents of cases.inc are. -- http://www.php.net/manual/en/control-structures.switch.php http://master.php.net/manage/user-notes.php?action=edit+23600 http://master.php.net/manage/user-notes.php?action=delete+23600 http://master.php.net/manage/user-notes.php?action=reject+23600

« previous php.notes (#33427) next »