var myValue = someOtherValue || true;
I just found out in PHP 5.3 they added an operator to do just that.
$myValue = $someOtherValue ?: true;
That's all, carry on.