3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A{ public function __construct(){ echo "A::__construct()"; } public function somePrint(){ echo "fuck off!" } } $a = new A(); $a->somePrint();
Output for 5.3.0 - 5.4.14
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/taMMe on line 9
Process exited with code 255.