3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $m = 10; $n = &$m; $n++; var_dump($n,$m); echo "\n"; function foo(&$x){ $x = null; } $a = 8; foo($a); var_dump($a);
Output for 4.3.0 - 7.1.0
int(11) int(11) NULL