3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(100, 200); var_dump($arr); /* shows: array(2) { [0]=> int(100) [1]=> int(200) } */ $r = &$arr[0]; var_dump($arr); /* shows: array(2) { [0]=> &int(100) [1]=> int(200) }

preferences:
37.53 ms | 402 KiB | 5 Q