3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class Base { public function __call($name,array $params) { echo $name; //throw "fuckoff"; } } class A extends Base { public function Launch() { echo "Launch<BR>"; var_dump(get_class($this)); } } $A = new A; A->somestrange(); A->Launch(); ?>
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /in/4lj6p on line 23
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/4lj6p on line 23
Process exited with code 255.