3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function withRef(&$zomg) { $zomg = 'hello world!'; } withRef(null);
based on lseoC
Output for 5.6.0 - 7.0.11
Fatal error: Only variables can be passed by reference in /in/b342d on line 7
Process exited with code 255.