Close an included file?
Posted: Tue May 09, 2006 5:51 pm
Is there a way to close an included file when it is not needed anymore?
Ex:
Ex:
Code: Select all
<?php
// Include file
include("/file.inc");
// Create new object
$current = new file;
// Perform a function
$current->someFunction();
// After this, file.inc is not needed anymore.
// Can it be closed so it cannot be accessed again (unless it is included again somewhere further down of course)
?>