Lines Matching refs:f2
11 function f2(A $a = null) {
12 echo "in f2;\n";
25 call_user_func('f2', 1);
30 call_user_func('f2');
35 call_user_func('f2', new A);
40 call_user_func('f2', null);
54 static function f2(A $a = null) {
56 echo "in C::f2 (instance);\n";
58 echo "in C::f2 (static);\n";
74 call_user_func(array('C', 'f2'), 1);
79 call_user_func(array('C', 'f2'));
84 call_user_func(array('C', 'f2'), new A);
89 call_user_func(array('C', 'f2'), null);
103 function f2(A $a = null) {
105 echo "in C::f2 (instance);\n";
107 echo "in C::f2 (static);\n";
124 call_user_func(array($d, 'f2'), 1);
129 call_user_func(array($d, 'f2'));
134 call_user_func(array($d, 'f2'), new A);
139 call_user_func(array($d, 'f2'), null);
150 0: Argument 1 passed to f2() must be an instance of A or null, int given%s(%d)
152 in f2;
153 in f2;
154 in f2;
161 0: Argument 1 passed to C::f2() must be an instance of A or null, int given%s(%d)
163 in C::f2 (static);
164 in C::f2 (static);
165 in C::f2 (static);
172 0: Argument 1 passed to D::f2() must be an instance of A or null, int given%s(%d)
174 in C::f2 (instance);
175 in C::f2 (instance);
176 in C::f2 (instance);