3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phperror_reporting(E_ALL);function t() { global $foo; echo $foo['bar'];}t();
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function phperror_reporting() in /in/XikJN:1 Stack trace: #0 {main} thrown in /in/XikJN on line 1
Process exited with code 255.
Output for 5.4.34 - 5.6.28
Fatal error: Call to undefined function phperror_reporting() in /in/XikJN on line 1
Process exited with code 255.
Output for 4.3.0 - 5.4.32
<?phperror_reporting(E_ALL);function t() { global $foo; echo $foo['bar'];}t();