note 51043 added to function.include-once

From: Date: Thu, 17 Mar 2005 22:17:24 +0000
Subject: note 51043 added to function.include-once
Groups: php.notes 
Request: Send a blank email to php-notes+get-86602@lists.php.net to get a copy of this message
Inlude_once can slower your app, if you include to many files. You cann use this wrapper class, it is faster than include_once http://www.pure-php.de/node/19 include_once("includeWrapper.class.php") includeWrapper::includeOnce("Class1.class.php"); includeWrapper::requireOnce("Class1.class.php"); includeWrapper::includeOnce("Class2.class.php") ---- Manual Page -- http://www.php.net/manual/en/function.include-once.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51043 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51043&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51043&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51043&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51043&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51043&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51043&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86602) next »