3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function with($obj) { return $obj } class Baller { public function foo() { echo 'bar'; } } with(new Baller)->foo();
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.9
Parse error: syntax error, unexpected '}' in /in/KS3tk on line 2
Process exited with code 255.