3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { } class B { public function __construct() { die("what?"); } } $a = new A(new B)
Output for 5.4.0 - 5.4.6
Parse error: syntax error, unexpected end of file in /in/Gmh5K on line 15
Process exited with code 255.
Output for 5.3.0 - 5.3.16
Parse error: syntax error, unexpected $end in /in/Gmh5K on line 15
Process exited with code 255.