3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); class Foo { public function __get() { return 'bar'; } } $foo = new Foo(); echo $foo->property;
Output for 5.3.0 - 5.4.29
Fatal error: Method Foo::__get() must take exactly 1 argument in /in/jVIAN on line 9
Process exited with code 255.