On 10/14/05, Dan Baker <[EMAIL PROTECTED]> wrote:
> The concept is that only the code that actually gets executed is ever
> loaded/compiled. Pretty sneaky!
I think that's the general idea behind PHP's autoload():
http://php.net/autoload
Using a caching tool like APC or Zend Optimizer would be he
"Jay Paulson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I just started working with a new company and they handed me some of their
> php code for me to look over. I noticed that they have a TON of include
> files being called into their scripts. For example, instead of having
Jay Paulson schrieb:
> function xyz($abc) { return include(xyz_func.php); }
> function abc($xyz) { return include(abc_func.php); }
Oh. My. God. Is this ugly. OK, it works, but that's not the way how one
should abuse include().
> I was wondering isn't this putting a bigger load on a server by inc
3 matches
Mail list logo