I have a conditional statement thus:
if($boolean && expensiveOperation()){ ...}
Does PHP have lazy boolean evaluation, i.e. will it check $boolean
and if it is false not bother performing the expensive operation? If so, what order should I put my variables?