Ok, I didn't really know how to even phrase the question, but let me explain.
Suppose I have a variable:
$file = dirname(__FILE__);
What happens if I assign $file
to another variable?
$anotherVariable = $file;
Does the dirname
function get executed each time I assign?
Thanks for any help.