3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class g { public function __construct() { echo 'a'; } } $g = new g()();
Output for 5.3.0 - 5.4.31
Parse error: syntax error, unexpected '(' in /in/8bjge on line 11
Process exited with code 255.