note 51044 added to function.require-once
| From: | Pure-PHP at osu1 dot php dot net | Date: | Thu, 17 Mar 2005 22:19:08 +0000 |
| Subject: | note 51044 added to function.require-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86603@lists.php.net to get a copy of this message | ||
require_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
require_once("includeWrapper.class.php")
includeWrapper::require_once("Class1.class.php");
includeWrapper::require_once("Class1.class.php");
includeWrapper::require_once("Class2.class.php")
----
Manual Page -- http://www.php.net/manual/en/function.require-once.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51044
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51044&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51044&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51044&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51044&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51044&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51044&report=yes
Search -- http://master.php.net/manage/user-notes.php