3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); function foo (&$x) { $x = 2; } foo($xizzy); echo $xizzy;
based on aqBOG
Output for 4.3.0 - 7.1.0
2