3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public function __destruct() { new Foo; } /* you will crash */ } new Foo;
based on loAhD
Output for 5.3.11 - 7.2.0

Process exited with code 139.