3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { } class B { public function __construct() { die("sorry"); } } $a = new A( new B() ); echo "good"; new B()
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected end of file in /in/cQEkW on line 17
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected $end in /in/cQEkW on line 17
Process exited with code 255.