<?php $one = [1]; $two = [42]; $arr1 = ['k' => &$one]; $arr2 = ['k' => &$two]; var_dump(current($one), current($two)); array_merge_recursive($arr1, $arr2); var_dump(current($one), current($two));
You have javascript disabled. You will not be able to edit any code.