3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo1($a, $b) { var_dump($a, $b); } function foo2($a) { return "e$a"; } function foo3() { return 2; } function foo4() { return 3; } foo1(foo2(foo4), foo3());
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant foo4 - assumed 'foo4' in /in/lOpgk on line 8 string(5) "efoo4" int(2)