note 9242 deleted from require_once by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 26 Oct 2000 00:26:23 +0000 |
| Subject: | note 9242 deleted from require_once by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6979@lists.php.net to get a copy of this message | ||
This does not work when the function is called in a non-global context.
<? //begin of file
require_once("filename.inc.php");
function test(){
require_once("filename.inc.php");
}
test();
?>
will produce an error if there are function definitions in the included file.