Lines Matching refs:arr
5 $arr = array(1, array(2));
6 list(&$a, list(&$b)) = $arr;
8 var_dump($arr);
10 $arr = array(1, array(2));
11 list($a, &$b) = $arr;
12 var_dump($arr);
14 $arr = array(1, array(2));
15 [&$a, [&$b]] = $arr;
17 var_dump($arr);
19 $arr = array(1, array(2));
20 [&$a, [&$b], &$c] = $arr;
22 var_dump($arr);
24 $arr = array("one" => 1, "two" => array(2));
25 ["one" => &$a, "two" => [&$b], "three" => &$c] = $arr;
27 var_dump($arr);