3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function &f() { static $a; return $a; } f() = 42; var_dump(f());
Output for 5.3.7 - 5.4.30
Fatal error: Can't use function return value in write context in /in/5orPD on line 8
Process exited with code 255.