3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(new NoProblem); var_dump(new Problem); class NoProblem {} class Problem extends NonExisting {}
Output for 7.0.0 - 7.1.0
object(NoProblem)#1 (0) { } Fatal error: Uncaught Error: Class 'Problem' not found in /in/hrVfY:4 Stack trace: #0 {main} thrown in /in/hrVfY on line 4
Process exited with code 255.
Output for hhvm-3.12.0
object(NoProblem)#1 (0) { } Fatal error: Class undefined: Problem in /in/hrVfY on line 4
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.6.28
object(NoProblem)#1 (0) { } Fatal error: Class 'Problem' not found in /in/hrVfY on line 4
Process exited with code 255.
Output for 5.0.0 - 5.3.27, 5.4.0 - 5.4.17
object(NoProblem)#1 (0) { } Fatal error: Class 'Problem' not found in /in/vv56m on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.9
object(noproblem)(0) { } Fatal error: Cannot instantiate non-existent class: problem in /in/vv56m on line 4
Process exited with code 255.
Output for 4.3.1
object(noproblem)(0) { } Fatal error: Cannot instantiate non-existent class: problem in /in/vv56m on line 4
Output for 4.3.0
object(noproblem)(0) { } Fatal error: Cannot instantiate non-existent class: problem in /in/hrVfY on line 4