3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class x { function __get() { return ''; } } $x = new x; for ($i=0; $i<999; $i++) $x->{i}$i;
Output for 5.3.0 - 5.4.25
Fatal error: Method x::__get() must take exactly 1 argument in /in/fDURm on line 8
Process exited with code 255.