Re: [PHP] Re: Multiple Includes vs. One Long Include (Functions)

2006-08-10 Thread Richard Lynch
On Tue, August 8, 2006 3:45 pm, Adam Zey wrote: > From a performance standpoint, if you're not using an opcode cache, > modularizing it will be faster, since PHP won't have to compile > functions that won't be used (PHP recompiles scripts every time they > are > run). However, if you're using an o

[PHP] Re: Multiple Includes vs. One Long Include (Functions)

2006-08-08 Thread Adam Zey
Kevin Murphy wrote: I was just wondering if there was any thought one way or another on the best practice for doing this. Lets say I have 10 functions that I want to reuse on my site. Not every page needs every function. So I move the function to an external page and then require it for the p