3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public $f = 56; } function f() { return new A(); } var_dump(isset(f()[]));
Output for 5.4.0 - 5.4.24
Fatal error: Cannot use [] for reading in /in/Ji6ES on line 13
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Fatal error: Can't use function return value in write context in /in/Ji6ES on line 13
Process exited with code 255.