3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A{ public function __get(){ return "A"; } } $a = new A(); var_dump($a);
Output for 5.3.0 - 5.4.25
Fatal error: Method A::__get() must take exactly 1 argument in /in/v1vp1 on line 5
Process exited with code 255.