3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function blah() { return 0; } if ($foo = blah()) { echo $foo; } else { echo "no foo!"; }
based on iqSYQ
Output for 4.3.0 - 7.1.0
no foo!