3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { new Animal(); } catch (\Exception $e) { echo $e->getMessage(); }
based on sQcPC
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'Animal' not found in /in/qT1j9:4 Stack trace: #0 {main} thrown in /in/qT1j9 on line 4
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Class 'Animal' not found in /in/qT1j9 on line 4
Process exited with code 255.