3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class MyClass {} new MyClass(die('Death!'));
based on 9tZkY
Output for 7.1.0 - 7.2.0
Death!
Output for 5.3.18 - 7.0.20