note 23600 rejected from control-structures.switch by spic

From: Date: Wed, 28 Aug 2002 08:43:39 +0000
Subject: note 23600 rejected from control-structures.switch by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35880@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.

« previous php.notes (#35880) next »