Consider the following in PHP:
$var = 3 * 5
echo $var //15
Is the value 15 stored or 3 * 5?
If the latter is stored I guess it would be a performance-issue if more complex operations are stored in a variable and needs to be ran every time the variable value printed out.
It’s stored as the value, not the expression.