3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Calculator { public function __get() { return 4; } public function __call() { return 4; } } $calculator = new Calculator; $calculator->doSomething();
Output for 5.3.0 - 5.4.24
Fatal error: Method Calculator::__get() must take exactly 1 argument in /in/2Xr6e on line 8
Process exited with code 255.