3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function &r(&$test) { return $test; } $t = 123; $t2 = r($t); $t2 = 'new'; var_dump($t);
Output for 4.3.0 - 7.1.0
int(123)