Store function result or call it each time?
<p>I have a class with a protected variable in it which can be get by a function <code>getVariable()</code>.</p>

<p>How much difference will it make if i'll call <code>getVariable()</code> every time instead of storing the result once and then use it? (the <code>getVariable()</code> does nothing more than <code>return $this-&gt;var</code>)</p>
