3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; $array['a'] =& $array['b']; $array['b'] = 1; var_dump($array);

preferences:
16.59 ms | 407 KiB | 5 Q