note 20166 added to function.require
| From: | php-general at lists dot php dot net | Date: | Mon, 25 Mar 2002 09:31:15 +0000 |
| Subject: | note 20166 added to function.require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28166@lists.php.net to get a copy of this message | ||
Re: Alternative to require
Excellent idea
I'm a beginner, but three notes:
1. Make $buffer static so not to pollute global name space.
2. Won't any defined vars be local to the function?
3. Last line: "<" . "?" ... ?
--
http://www.php.net/manual/en/function.require.php
http://master.php.net/manage/user-notes.php?action=edit+20166
http://master.php.net/manage/user-notes.php?action=delete+20166
http://master.php.net/manage/user-notes.php?action=reject+20166