The order of arguments in an if statement

Consider this dummy snippet:

if ( true === $skip || heavy_check() ){

The $skip is checked first. It is very quick as it is just a simple variable check. and since this is an ‘or’ statement. As soon as $skip is true it won’t bother with the heavy_check.

Something I always suspected but today I tested this and confirmed it.