|
Posted by Michael Fesser on 09/28/32 12:01
..oO(Roberto)
>I read on a website recently that using require_once, although it
>sounds like a nice idea, actually is processor expensive.
Usually you won't notice any difference, if there is one at all in
recent PHP versions.
>But the guy
>who posted that didn't say what else is faster:
>
>* require
>* include
>* include_once
>
>Which is fastest?
Just use what fits your needs the best. If you encounter performance
problems, use a profiler to find the real bottlenecks in your code.
Micha
Navigation:
[Reply to this message]
|