Hi there.
I am used to make dynamic includes in my php script.
let's supose I include math.php in my script if $operation="arithmetic" and only in that case.
so I write:
if ($operation=="arithmetic") include("./include/math.php");
I'd like to know your opinions in:
is this stylistically correct?
Does it affect Apache performance? (the php script has different size in every execution)
* Does it supose more time for apache web server to read the entire file with all includes or determine which one should be included and read them??
Thanks in advance.
-sam-