3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 4; function foo(&$t) { $t++; } var_dump($a); foo($a); var_dump($a);
based on D7YM3
Output for 4.3.0 - 7.2.0
int(4) int(5)