3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class BaseClass { // } class ThisIsOkay extends BaseClass { // } class PhpWillYellAtYou extends NonExistentClass { // }
Output for 7.3.0 - 7.3.1
Fatal error: Uncaught Error: Class 'NonExistentClass' not found in /in/4LM5A:13 Stack trace: #0 {main} thrown in /in/4LM5A on line 13
Process exited with code 255.
Output for 7.1.25 - 7.2.13
Fatal error: Class 'NonExistentClass' not found in /in/4LM5A on line 13
Process exited with code 255.