If I have the code:
if ($var)
{
include "file.inc";
}
Is that file always included?
Or is it only include when $var is present?
Does this change if require is used? (Other than the obvious fact that require will fail if the file doesn't exist).
This may seem obvious, and I believe it is fairly obvious, that it won't be parsed until $var is present, but I want to be really sure before re-writing 2500 lines of code to speed up a message board system with this kind of thing before doing it!
Thanks