3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class foo { function __call($name, $args){ echo "__call " . $name; } public static function __callStatic($name, $args) { echo "__callStatic " . $name; } function make_call() { $this->bob(); } function make_call_static() { self::ted(); } } $x = new foo(); $foo->jim
Output for 5.4.0 - 5.4.7
Parse error: syntax error, unexpected end of file in /in/IufT9 on line 22
Process exited with code 255.
Output for 5.3.0 - 5.3.17
Parse error: syntax error, unexpected $end in /in/IufT9 on line 22
Process exited with code 255.