📅  最后修改于: 2022-03-11 14:54:40.584000             🧑  作者: Mango
代码示例1
$arr = array(1, 2, 3, 4);
foreach ($arr as &$value) {
$value = $value * 2;
}
unset($value); // $value no longer references $arr[3]