PHP should evaluate left to right, if hitting boolean and(&&) and prior statement was false, right statement should not be evaluated.  Both statements should be equal.

I used the static var, as the php-version is unlikely to change in an application life-cycle, there is no need to reevaluate it for every class loaded. Am I missing something?