3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $nullValue = null; if($nullValue == 1 && $nullValue->doSomething()){ echo 'something'; } else { echo 'nothing'; }
Output for 4.3.0 - 7.1.0
nothing