<?php $a = 1; $b = [&$a]; $c = $b; unset($a); // <-- $b[0] = 2; echo "$b[0] $c[0]"; // 2 1
You have javascript disabled. You will not be able to edit any code.