Includes
| From: | Victor | Date: | Fri, 19 May 2000 16:46:39 +0000 |
| Subject: | Includes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-202@lists.php.net to get a copy of this message | ||
Is there an equivalent of java's import in php??
I want to include a file that has a class. If I accidently include it
twice (like I inlude another file that has the same include in it), i
get errors. I currently use DEFINES (kind of like C) to stop that form
happaning. Will php have any construct (I think perl has this) that if
file is included once, all subsequent includes are ignored?
Thanks