[Mediawiki-l] What's the difference?

Brian A. Seklecki bseklecki at collaborativefusion.com
Tue Feb 19 18:13:17 UTC 2008


http://php.net/require_once

http://php.net/include_once

"The require_once() statement includes and evaluates the specified file
during the execution of the script. This is a behavior similar to the
require() statement, with the only difference being that if the code
from a file has already been included, it will not be included again."


~BAS

On Tue, 2008-02-19 at 12:09 -0600, John W Foster wrote:
> In editing LocalSettings.php I see two types of process. one is for
> example;  require_once( "$IP/extensions/ImageMap/ImageMap.php" );
> 
> the other is : include_once( "$IP/extensions/ImageMap/ImageMap.php" );
> 
> Can someone tell me what is the difference?
> Thanks!
> Frosty
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- 
Brian A. Seklecki <bseklecki at collaborativefusion.com>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.





More information about the MediaWiki-l mailing list