@@ -60,60 +60,60 @@ Testing 'int' type:
6060int(1)
6161
6262*** Trying string(1) "1"
63- *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
63+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
6464
6565*** Trying float(1)
66- *** Caught {closure}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
66+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
6767
6868*** Trying float(1.5)
69- *** Caught {closure}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
69+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
7070
7171*** Trying string(2) "1a"
72- *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
72+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
7373
7474*** Trying string(1) "a"
75- *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
75+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
7676
7777*** Trying string(0) ""
78- *** Caught {closure}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
78+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
7979
8080*** Trying int(2147483647)
8181int(2147483647)
8282
8383*** Trying float(NAN)
84- *** Caught {closure}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
84+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
8585
8686*** Trying bool(true)
87- *** Caught {closure}(): Argument #1 ($i) must be of type int, true given, called in %s on line %d
87+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, true given, called in %s on line %d
8888
8989*** Trying bool(false)
90- *** Caught {closure}(): Argument #1 ($i) must be of type int, false given, called in %s on line %d
90+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, false given, called in %s on line %d
9191
9292*** Trying NULL
93- *** Caught {closure}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d
93+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, null given, called in %s on line %d
9494
9595*** Trying array(0) {
9696}
97- *** Caught {closure}(): Argument #1 ($i) must be of type int, array given, called in %s on line %d
97+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, array given, called in %s on line %d
9898
9999*** Trying object(stdClass)#5 (0) {
100100}
101- *** Caught {closure}(): Argument #1 ($i) must be of type int, stdClass given, called in %s on line %d
101+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, stdClass given, called in %s on line %d
102102
103103*** Trying object(StringCapable)#6 (0) {
104104}
105- *** Caught {closure}(): Argument #1 ($i) must be of type int, StringCapable given, called in %s on line %d
105+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, StringCapable given, called in %s on line %d
106106
107107*** Trying resource(5) of type (stream)
108- *** Caught {closure}(): Argument #1 ($i) must be of type int, resource given, called in %s on line %d
108+ *** Caught {closure:%s:%d }(): Argument #1 ($i) must be of type int, resource given, called in %s on line %d
109109
110110Testing 'float' type:
111111
112112*** Trying int(1)
113113float(1)
114114
115115*** Trying string(1) "1"
116- *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
116+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
117117
118118*** Trying float(1)
119119float(1)
@@ -122,13 +122,13 @@ float(1)
122122float(1.5)
123123
124124*** Trying string(2) "1a"
125- *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
125+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
126126
127127*** Trying string(1) "a"
128- *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
128+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
129129
130130*** Trying string(0) ""
131- *** Caught {closure}(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
131+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, string given, called in %s on line %d
132132
133133*** Trying int(2147483647)
134134float(2147483647)
@@ -137,42 +137,42 @@ float(2147483647)
137137float(NAN)
138138
139139*** Trying bool(true)
140- *** Caught {closure}(): Argument #1 ($f) must be of type float, true given, called in %s on line %d
140+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, true given, called in %s on line %d
141141
142142*** Trying bool(false)
143- *** Caught {closure}(): Argument #1 ($f) must be of type float, false given, called in %s on line %d
143+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, false given, called in %s on line %d
144144
145145*** Trying NULL
146- *** Caught {closure}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d
146+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, null given, called in %s on line %d
147147
148148*** Trying array(0) {
149149}
150- *** Caught {closure}(): Argument #1 ($f) must be of type float, array given, called in %s on line %d
150+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, array given, called in %s on line %d
151151
152152*** Trying object(stdClass)#5 (0) {
153153}
154- *** Caught {closure}(): Argument #1 ($f) must be of type float, stdClass given, called in %s on line %d
154+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, stdClass given, called in %s on line %d
155155
156156*** Trying object(StringCapable)#6 (0) {
157157}
158- *** Caught {closure}(): Argument #1 ($f) must be of type float, StringCapable given, called in %s on line %d
158+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, StringCapable given, called in %s on line %d
159159
160160*** Trying resource(5) of type (stream)
161- *** Caught {closure}(): Argument #1 ($f) must be of type float, resource given, called in %s on line %d
161+ *** Caught {closure:%s:%d }(): Argument #1 ($f) must be of type float, resource given, called in %s on line %d
162162
163163Testing 'string' type:
164164
165165*** Trying int(1)
166- *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d
166+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, int given, called in %s on line %d
167167
168168*** Trying string(1) "1"
169169string(1) "1"
170170
171171*** Trying float(1)
172- *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line %d
172+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, float given, called in %s on line %d
173173
174174*** Trying float(1.5)
175- *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line %d
175+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, float given, called in %s on line %d
176176
177177*** Trying string(2) "1a"
178178string(2) "1a"
@@ -184,63 +184,63 @@ string(1) "a"
184184string(0) ""
185185
186186*** Trying int(2147483647)
187- *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d
187+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, int given, called in %s on line %d
188188
189189*** Trying float(NAN)
190- *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line %d
190+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, float given, called in %s on line %d
191191
192192*** Trying bool(true)
193- *** Caught {closure}(): Argument #1 ($s) must be of type string, true given, called in %s on line %d
193+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, true given, called in %s on line %d
194194
195195*** Trying bool(false)
196- *** Caught {closure}(): Argument #1 ($s) must be of type string, false given, called in %s on line %d
196+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, false given, called in %s on line %d
197197
198198*** Trying NULL
199- *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d
199+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, null given, called in %s on line %d
200200
201201*** Trying array(0) {
202202}
203- *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line %d
203+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, array given, called in %s on line %d
204204
205205*** Trying object(stdClass)#5 (0) {
206206}
207- *** Caught {closure}(): Argument #1 ($s) must be of type string, stdClass given, called in %s on line %d
207+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, stdClass given, called in %s on line %d
208208
209209*** Trying object(StringCapable)#6 (0) {
210210}
211- *** Caught {closure}(): Argument #1 ($s) must be of type string, StringCapable given, called in %s on line %d
211+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, StringCapable given, called in %s on line %d
212212
213213*** Trying resource(5) of type (stream)
214- *** Caught {closure}(): Argument #1 ($s) must be of type string, resource given, called in %s on line %d
214+ *** Caught {closure:%s:%d }(): Argument #1 ($s) must be of type string, resource given, called in %s on line %d
215215
216216Testing 'bool' type:
217217
218218*** Trying int(1)
219- *** Caught {closure}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d
219+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d
220220
221221*** Trying string(1) "1"
222- *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
222+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
223223
224224*** Trying float(1)
225- *** Caught {closure}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
225+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
226226
227227*** Trying float(1.5)
228- *** Caught {closure}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
228+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
229229
230230*** Trying string(2) "1a"
231- *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
231+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
232232
233233*** Trying string(1) "a"
234- *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
234+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
235235
236236*** Trying string(0) ""
237- *** Caught {closure}(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
237+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, string given, called in %s on line %d
238238
239239*** Trying int(2147483647)
240- *** Caught {closure}(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d
240+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, int given, called in %s on line %d
241241
242242*** Trying float(NAN)
243- *** Caught {closure}(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
243+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, float given, called in %s on line %d
244244
245245*** Trying bool(true)
246246bool(true)
@@ -249,21 +249,21 @@ bool(true)
249249bool(false)
250250
251251*** Trying NULL
252- *** Caught {closure}(): Argument #1 ($b) must be of type bool, null given, called in %s on line %d
252+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, null given, called in %s on line %d
253253
254254*** Trying array(0) {
255255}
256- *** Caught {closure}(): Argument #1 ($b) must be of type bool, array given, called in %s on line %d
256+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, array given, called in %s on line %d
257257
258258*** Trying object(stdClass)#5 (0) {
259259}
260- *** Caught {closure}(): Argument #1 ($b) must be of type bool, stdClass given, called in %s on line %d
260+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, stdClass given, called in %s on line %d
261261
262262*** Trying object(StringCapable)#6 (0) {
263263}
264- *** Caught {closure}(): Argument #1 ($b) must be of type bool, StringCapable given, called in %s on line %d
264+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, StringCapable given, called in %s on line %d
265265
266266*** Trying resource(5) of type (stream)
267- *** Caught {closure}(): Argument #1 ($b) must be of type bool, resource given, called in %s on line %d
267+ *** Caught {closure:%s:%d }(): Argument #1 ($b) must be of type bool, resource given, called in %s on line %d
268268
269269Done
0 commit comments