3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $val = "0"; if($val) { echo "Value is true."; } else { echo "Value is false!"; }
based on i98bQ
Output for 4.3.0 - 7.1.0
Value is false!