3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php session_start(); $class = new nonExistentClass; var_dump($class);
based on WG5pV
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Class 'nonExistentClass' not found in /in/Re90p:3 Stack trace: #0 {main} thrown in /in/Re90p on line 3
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Class undefined: nonExistentClass in /in/Re90p on line 3
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.3 - 5.6.28
Fatal error: Class 'nonExistentClass' not found in /in/Re90p on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.2
Warning: session_start(): Cannot send session cookie - headers already sent in /in/Re90p on line 2 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Re90p:2) in /in/Re90p on line 2 Fatal error: Class 'nonExistentClass' not found in /in/Re90p on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: session_start(): Cannot send session cookie - headers already sent in /in/Re90p on line 2 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /in/Re90p:2) in /in/Re90p on line 2 Fatal error: Cannot instantiate non-existent class: nonexistentclass in /in/Re90p on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cookie - headers already sent in /in/Re90p on line 2 Warning: session_start() [http://www.php.net/function.session-start]: Cannot send session cache limiter - headers already sent (output started at /in/Re90p:2) in /in/Re90p on line 2 Fatal error: Cannot instantiate non-existent class: nonexistentclass in /in/Re90p on line 3