3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // the unroll: $arr = array(1 => 'one', 2 => 'two', 3 => 'three'); $a = &$arr[1]; // first iteration var_dump($a,$arr[1]);
Output for 4.3.0 - 7.2.0
string(3) "one" string(3) "one"