Lines Matching refs:type

2 Behavior of union type checks (weak)
16 function test(string $type, array $values) {
19 echo "\nType $type:\n";
20 $fn = eval("return function($type \$arg) { return \$arg; };");
69 "42x" => Argument ... must be of type int|float, string given
70 "x" => Argument ... must be of type int|float, string given
71 "" => Argument ... must be of type int|float, string given
74 null => Argument ... must be of type int|float, null given
75 [] => Argument ... must be of type int|float, array given
76 new stdClass => Argument ... must be of type int|float, stdClass given
77 new WithToString => Argument ... must be of type int|float, WithToString given
85 "42x" => Argument ... must be of type int|float|false, string given
86 "x" => Argument ... must be of type int|float|false, string given
87 "" => Argument ... must be of type int|float|false, string given
90 null => Argument ... must be of type int|float|false, null given
91 [] => Argument ... must be of type int|float|false, array given
92 new stdClass => Argument ... must be of type int|float|false, stdClass given
93 new WithToString => Argument ... must be of type int|float|false, WithToString given
106 null => Argument ... must be of type int|float|bool, null given
107 [] => Argument ... must be of type int|float|bool, array given
108 new stdClass => Argument ... must be of type int|float|bool, stdClass given
109 new WithToString => Argument ... must be of type int|float|bool, WithToString given
122 null => Argument ... must be of type int|bool, null given
123 [] => Argument ... must be of type int|bool, array given
124 new stdClass => Argument ... must be of type int|bool, stdClass given
125 new WithToString => Argument ... must be of type int|bool, WithToString given
139 [] => Argument ... must be of type string|int|null, array given
140 new stdClass => Argument ... must be of type string|int|null, stdClass given
154 null => Argument ... must be of type string|bool, null given
155 [] => Argument ... must be of type string|bool, array given
156 new stdClass => Argument ... must be of type string|bool, stdClass given
165 "42x" => Argument ... must be of type array|float, string given
166 "x" => Argument ... must be of type array|float, string given
167 "" => Argument ... must be of type array|float, string given
170 null => Argument ... must be of type array|float, null given
172 new stdClass => Argument ... must be of type array|float, stdClass given
173 new WithToString => Argument ... must be of type array|float, WithToString given
186 null => Argument ... must be of type array|string, null given
188 new stdClass => Argument ... must be of type array|string, stdClass given
202 null => Argument ... must be of type array|bool, null given
204 new stdClass => Argument ... must be of type array|bool, stdClass given
205 new WithToString => Argument ... must be of type array|bool, WithToString given