Lines Matching refs:a
6 function test($a, $b, $c) {
7 echo "a = $a, b = $b, c = $c\n";
10 function test2($a = null, &$b = null) {
14 test(...['a' => 'a', 'b' => 'b', 'c' => 'c']);
15 test(...['c' => 'c', 'b' => 'b', 'a' => 'a']);
16 test(...['a', 'b' => 'b', 'c' => 'c']);
19 test(...['a', 'b' => 'b', 'c']);
25 test(...['a', 'a' => 'a']);
35 test(...new ArrayIterator(['a' => 'a', 'b' => 'b', 'c' => 'c']));
36 test(...new ArrayIterator(['c' => 'c', 'b' => 'b', 'a' => 'a']));
37 test(...new ArrayIterator(['a', 'b' => 'b', 'c' => 'c']));
40 test(...new ArrayIterator(['a', 'b' => 'b', 'c']));
46 test(...new ArrayIterator(['a', 'a' => 'a']));
58 a = a, b = b, c = c
59 a = a, b = b, c = c
60 a = a, b = b, c = c
62 Named parameter $a overwrites previous argument
71 a = a, b = b, c = c
72 a = a, b = b, c = c
73 a = a, b = b, c = c
75 Named parameter $a overwrites previous argument
77 Warning: Cannot pass by-reference argument 2 of test2() by unpacking a Traversable, passing by-valu…