3v4l.org

run code in 200+ PHP versions simultaneously
<?php namespace C; Hello();
based on VpYb5
Output for 7.0.33 - 7.2.24, 7.3.2 - 7.4.0
Fatal error: Uncaught Error: Call to undefined function C\Hello() in /in/KGf5M:3 Stack trace: #0 {main} thrown in /in/KGf5M on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function hello() in /in/KGf5M:3 Stack trace: #0 {main} thrown in /in/KGf5M on line 3
Process exited with code 255.
Output for 5.6.38
Fatal error: Call to undefined function C\Hello() in /in/KGf5M on line 3
Process exited with code 255.