3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function condition() { echo 'Hello'; return false; } define('some_condition', condition()); if (some_condition) echo 'Hello'; else echo ' world';
Output for 4.3.0 - 7.1.0
Hello world