3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class C { function __get($key) {return 'x';} } $c = new C; print_r(empty($c->k));
based on Q4FXH
Output for 4.3.0 - 7.1.0
1