3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php rod(); function rod() { echo 'rod'; echo PHP_EOL; elias(); function elias() { echo 'elias'; PHP_EOL; } }
based on GiMZn
Output for 7.0.0 - 7.2.0
rod Fatal error: Uncaught Error: Call to undefined function elias() in /in/OXHWS:9 Stack trace: #0 /in/OXHWS(3): rod() #1 {main} thrown in /in/OXHWS on line 9
Process exited with code 255.
Output for 5.3.20 - 5.6.28
rod Fatal error: Call to undefined function elias() in /in/OXHWS on line 9
Process exited with code 255.