3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function sad() { return 'nonsense'; } function stop() { return 'please stop'; } function sing() {} function beAwesome() {} // life motto if (sad() == true) { sad().stop(); sing(); } else { beAwesome(); } ?>
Output for 4.3.0 - 7.2.0