3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Object { function __construct() {} } for ($i = 0; $i <= 10000; $i++) new Object;
Output for 7.2.0
Fatal error: Cannot use 'Object' as class name as it is reserved in /in/QJb1O on line 3
Process exited with code 255.
Output for 4.3.0 - 7.1.10