Re: [Coding Standards] Loading all files at once

From: Date: Tue, 10 Jul 2007 17:18:07 +0000
Subject: Re: [Coding Standards] Loading all files at once
References: 1 2 3 4 5 6 7  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47411@lists.php.net to get a copy of this message
On 10.07.2007, at 15:51, Simon Ruderich wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, if I understand the problem correctly then the only reason for this change is an increased speed with opcode caches (and maybe the possibility to change versions of part of the packages to use an older version for example). I think the easiest and best approach to this problem would be to delegate it to the PEAR2 installer. So the code is kept the same as it is now (of course only those relevant to the require_once problem) and the user can decide then what he wants. 1. Use with opcode: PEAR2 installer generates allfiles.php for increased speed and strips all top-level require(_once)s from the code.
the point is that its not just about allfiles.php, but that you actually do not want the require_once calls, because they are just useless overhead if you use an allfiles.php regards, Lukas

« previous php.pear.dev (#47411) next »