note 124143 deleted from function.include-once by salathe

From: Date: Mon, 21 Sep 2020 14:41:22 +0000
Subject: note 124143 deleted from function.include-once by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215269@lists.php.net to get a copy of this message
Note Submitter: mho ---- once i wrote script to include multiple files at once from a given location: function include_load($path) { foreach(glob($path . "/*.php") as $file) include_once($file); } last week i modified my code and merged all include files into one single file. this results in five times faster code. i have to mention, i am talking about +100 files to include where each file includes single function and filename is equal to function-name.

« previous php.notes (#215269) next »