note 21254 added to function.include

From: Date: Sun, 05 May 2002 12:50:38 +0000
Subject: note 21254 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-30207@lists.php.net to get a copy of this message
INCLUDING FILES: For those not into C++ or parse errors Below you can see the parenthesis in the "main" file and the parenthesis in the "include" file. "main" file and "include" file contents are depicted by [ ] main[ { [ {include} ] } ]main .. correct way main[ [ {{include} ] } ]main .. expect "parse error" Parenthesis must be equal in both files. Same rules apply for an "include" inside an "include". Brian -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+21254 http://master.php.net/manage/user-notes.php?action=delete+21254 http://master.php.net/manage/user-notes.php?action=reject+21254

« previous php.notes (#30207) next »