3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $class = new ClassDoesNotExist(); } catch (\Error $e) { echo $e->getMessage(); }
based on Ynfph
Output for 7.0.0 - 7.2.0
Class 'ClassDoesNotExist' not found
Output for 5.3.21 - 5.6.28
Fatal error: Class 'ClassDoesNotExist' not found in /in/LkAXs on line 4
Process exited with code 255.