3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function &g(&$v) { return $v; } $foo = null; $name = 'this'; var_dump(array(g(&$$name)));
Output for 5.4.0 - 5.4.26
Fatal error: Call-time pass-by-reference has been removed in /in/vOl8C on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/vOl8C on line 8 array(1) { [0]=> NULL }