Lines Matching refs:c
6 $test = function($a = 'a', $b = 'b', $c = 'c') {
7 echo "a = $a, b = $b, c = $c\n";
20 public function __construct($a = 'a', $b = 'b', $c = 'c') {
22 echo "a = $a, b = $b, c = $c\n";
26 public function method($a = 'a', $b = 'b', $c = 'c') {
27 echo "a = $a, b = $b, c = $c\n";
31 call_user_func($test, 'A', c: 'C');
32 call_user_func($test, c: 'C', a: 'A');
33 call_user_func($test, c: 'C');
34 call_user_func($test_variadic, 'A', c: 'C');
36 var_dump(call_user_func('call_user_func', $test, c: 'D'));
54 $test->__invoke('A', c: 'C');
55 $test_variadic->__invoke('A', c: 'C');
56 $test->call(new class {}, 'A', c: 'C');
57 $test_variadic->call(new class {}, 'A', c: 'C');
61 $rf->invoke('A', c: 'C');
62 $rf->invokeArgs(['A', 'c' => 'C']);
64 $rm->invoke(new Test, 'A', c: 'C');
65 $rm->invokeArgs(new Test, ['A', 'c' => 'C']);
67 $rc->newInstance('A', c: 'C');
68 $rc->newInstanceArgs(['A', 'c' => 'C']);
72 a = A, b = b, c = C
73 a = A, b = b, c = C
74 a = a, b = b, c = C
78 ["c"]=>
83 a = a, b = b, c = D
94 a = A, b = b, c = C
98 ["c"]=>
101 a = A, b = b, c = C
105 ["c"]=>
109 a = A, b = b, c = C
110 a = A, b = b, c = C
111 a = A, b = b, c = C
112 a = A, b = b, c = C
113 a = A, b = b, c = C
114 a = A, b = b, c = C