Lines Matching refs:type

2 Scalar type strict mode
41 foreach ($functions as $type => $function) {
42 echo PHP_EOL, "Testing '$type' type:", PHP_EOL;
57 Testing 'int' type:
63 *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
66 *** Caught {closure}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
69 *** Caught {closure}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
72 *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
75 *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
78 *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
84 *** Caught {closure}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
87 *** Caught {closure}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d
90 *** Caught {closure}(): Argument #1 ($i) must be of type int, bool given, called in %s on line %d
93 *** Caught {closure}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d
97 *** Caught {closure}(): Argument #1 ($i) must be of type int, array given, called in %s on line %d
101 *** Caught {closure}(): Argument #1 ($i) must be of type int, stdClass given, called in %s on line …
105 *** Caught {closure}(): Argument #1 ($i) must be of type int, StringCapable given, called in %s on …
107 *** Trying resource(5) of type (stream)
108 *** Caught {closure}(): Argument #1 ($i) must be of type int, resource given, called in %s on line …
110 Testing 'float' type:
116 *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line …
125 *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line …
128 *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line …
131 *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line …
140 *** Caught {closure}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d
143 *** Caught {closure}(): Argument #1 ($f) must be of type float, bool given, called in %s on line %d
146 *** Caught {closure}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d
150 *** Caught {closure}(): Argument #1 ($f) must be of type float, array given, called in %s on line %d
154 *** Caught {closure}(): Argument #1 ($f) must be of type float, stdClass given, called in %s on lin…
158 *** Caught {closure}(): Argument #1 ($f) must be of type float, StringCapable given, called in %s o…
160 *** Trying resource(5) of type (stream)
161 *** Caught {closure}(): Argument #1 ($f) must be of type float, resource given, called in %s on lin…
163 Testing 'string' type:
166 *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d
172 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line …
175 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line …
187 *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d
190 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line …
193 *** Caught {closure}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d
196 *** Caught {closure}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d
199 *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d
203 *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line …
207 *** Caught {closure}(): Argument #1 ($s) must be of type string, stdClass given, called in %s on li…
211 *** Caught {closure}(): Argument #1 ($s) must be of type string, StringCapable given, called in %s …
213 *** Trying resource(5) of type (stream)
214 *** Caught {closure}(): Argument #1 ($s) must be of type string, resource given, called in %s on li…
216 Testing 'bool' type:
219 *** Caught {closure}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d
222 *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
225 *** Caught {closure}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
228 *** Caught {closure}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
231 *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
234 *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
237 *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
240 *** Caught {closure}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d
243 *** Caught {closure}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
252 *** Caught {closure}(): Argument #1 ($b) must be of type bool, null given, called in %s on line %d
256 *** Caught {closure}(): Argument #1 ($b) must be of type bool, array given, called in %s on line %d
260 *** Caught {closure}(): Argument #1 ($b) must be of type bool, stdClass given, called in %s on line…
264 *** Caught {closure}(): Argument #1 ($b) must be of type bool, StringCapable given, called in %s on…
266 *** Trying resource(5) of type (stream)
267 *** Caught {closure}(): Argument #1 ($b) must be of type bool, resource given, called in %s on line…