3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { function __get($x) { var_dump($x); return 2; } } $t = new Foo; var_dump($t->member);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(6) "member" int(2)
Output for 4.3.0 - 4.4.9
Notice: Undefined property: member in /in/toHua on line 11 NULL