note 2243 deleted from include by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 05:48:13 +0000 |
| Subject: | note 2243 deleted from include by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1466@lists.php.net to get a copy of this message | ||
<b>included files are loaded
inline with the source code, </b>
<font size=+1>I'm more interested to know of a
cool way to do IFDEF's in php,</font><pre> and would
like a function that determines if a function
or included file is loaded (transparently
to the coder) so I can do a
if (!is_included( $path_to_func)) {
include($path_to_func);
}
I'm going to figure out a way to avoid
"already declared errors" but its going to
be messy.. Maybe I've misinterpretted
how the includes work in PHP, but I'm getting a
strange error in that case. </pre>