3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo{} new Foo(die('die')); echo 'No die...', PHP_EOL; class Bar{ function __construct(){} } new Bar(die('die'));
based on 5BUO2
Output for 7.1.0 - 7.2.0
die
Output for 5.3.18 - 7.0.20
No die... die