3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = function () { abc(); doremi(); }; echo "no prob"; $a();
based on 98HjF
Output for 7.0.0 - 7.2.0
no prob Fatal error: Uncaught Error: Call to undefined function abc() in /in/nEK48:4 Stack trace: #0 /in/nEK48(9): {closure}() #1 {main} thrown in /in/nEK48 on line 4
Process exited with code 255.
Output for 5.3.21 - 5.6.28
no prob Fatal error: Call to undefined function abc() in /in/nEK48 on line 4
Process exited with code 255.