3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($a) { if ($a == 1) { return true; } else { return false; } } function bar($a) { if ($a == 1) { return true; } return false; } foo(2); bar(2);
Output for 4.3.0 - 7.2.0