Test: /ext/tokenizer/tests/token_get_all_variation9.phpt - Version 7.4.3-dev    

There are 2 different diffs reported by users for this test.

Count Diff
7 (54%)
002+ array(50) {
002- array(51) {
008+ string(6) "<?php
009+ "
008- string(6) "<?php "
017- string(1) "
018- "
018+ string(65) "/** Performing addition operation on given values :
019+ * a, b
020+ */"
020- int(1)
022+ int(2)
027- string(65) "/** Performing addition operation on given values :
028- * a, b
029- */"
030- [2]=>
031- int(2)
029+ string(2) "
030+
031+ "
032+ [2]=>
033+ int(4)
038- string(2) "
039-
040+ string(13) "// int value
042- int(4)
043+ int(6)
049- string(13) "// int value
050- "
050+ string(2) "$a"
052+ int(7)
052- int(6)
059+ string(1) " "
059- string(2) "$a"
064+ string(1) "="
065+ [7]=>
072- [7]=>
073- string(1) "="
079+ string(2) "10"
079- string(1) " "
084+ string(1) ";"
085+ [10]=>
088- string(2) "10"
090+ string(1) "
091+ "
092- [10]=>
093- string(1) ";"
099- string(1) "
100- "
100+ string(2) "$b"
102+ int(8)
102- int(7)
109+ string(1) " "
109- string(2) "$b"
114+ string(1) "="
115+ [14]=>
122- [14]=>
123- string(1) "="
129+ string(2) "20"
129- string(1) " "
134+ string(1) ";"
135+ [17]=>
138- string(2) "20"
140+ string(1) "
141+ "
142- [17]=>
143- string(1) ";"
149- string(1) "
150- "
150+ string(2) "$c"
152+ int(9)
152- int(8)
159+ string(1) " "
159- string(2) "$c"
164+ string(1) "="
165+ [21]=>
172- [21]=>
173- string(1) "="
179+ string(4) "true"
179- string(1) " "
184+ string(1) ";"
185+ [24]=>
188- string(4) "true"
190+ string(1) " "
192- [24]=>
193- string(1) ";"
199+ string(14) "// bool value
200+ "
199- string(1) " "
208- string(14) "// bool value
209+ string(1) "
211- int(9)
212+ int(10)
218- string(1) "
219- "
219+ string(57) "/*
220+ * Performing operation on $a,$b
221+ * display result
222+ */"
221- int(10)
224+ int(11)
228- string(59) "/*
229- * Performing operation on $a,$b
230- * display result
231- */"
232- [2]=>
233- int(11)
231+ string(1) "
232+ "
233+ [2]=>
234+ int(14)
240- string(1) "
241- "
241+ string(2) "$c"
243+ int(15)
243- int(14)
250+ string(1) " "
250- string(2) "$c"
255+ string(1) "="
256+ [32]=>
263- [32]=>
264- string(1) "="
270+ string(2) "$a"
270- string(1) " "
279+ string(1) " "
279- string(2) "$a"
284+ string(1) "+"
285+ [36]=>
292- [36]=>
293- string(1) "+"
299+ string(2) "$b"
299- string(1) " "
304+ string(1) ";"
305+ [39]=>
308- string(2) "$b"
310+ string(1) "
311+ "
312- [39]=>
313- string(1) ";"
319- string(1) "
320- "
320+ string(8) "var_dump"
322+ int(16)
322- int(15)
325+ string(1) "("
326+ [42]=>
329- string(8) "var_dump"
331+ string(2) "$c"
333- [42]=>
334- string(1) "("
336+ string(1) ")"
337+ [44]=>
338+ string(1) ";"
339+ [45]=>
340- string(2) "$c"
344+ string(1) " "
344- [44]=>
345- string(1) ")"
346- [45]=>
347- string(1) ";"
353+ string(20) "# expected: int(30)
354+ "
353- string(1) " "
362- string(20) "# expected: int(%d)
363+ string(1) "
365- int(16)
366+ int(17)
372- string(1) "
373+ string(17) "# end of program
375- int(17)
376+ int(18)
382- string(17) "# end of program
383- "
384- [2]=>
385- int(18)
383+ string(2) "?>"
384+ [2]=>
385+ int(19)
387+ }
388+ Done
387- [50]=>
388- array(3) {
389- [0]=>
390- int(%d)
391- [1]=>
392- string(2) "?>"
393- [2]=>
394- int(19)
395- }
396- }
397- Done
6 (46%)
002+ array(50) { 002- array(51) { 008+ string(6) "<?php 009+ " 008- string(6) "<?php " 017- string(1) " 018- " 018+ string(65) "/** Performing addition operation on given values : 019+ * a, b 020+ */" 020- int(1) 022+ int(2) 027- string(65) "/** Performing addition operation on given values : 028- * a, b 029- */" 030- [2]=> 031- int(2) 029+ string(2) " 030+ 031+ " 032+ [2]=> 033+ int(4) 038- string(2) " 039- 040+ string(13) "// int value 042- int(4) 043+ int(6) 049- string(13) "// int value 050- " 050+ string(2) "$a" 052+ int(7) 052- int(6) 059+ string(1) " " 059- string(2) "$a" 064+ string(1) "=" 065+ [7]=> 072- [7]=> 073- string(1) "=" 079+ string(2) "10" 079- string(1) " " 084+ string(1) ";" 085+ [10]=> 088- string(2) "10" 090+ string(1) " 091+ " 092- [10]=> 093- string(1) ";" 099- string(1) " 100- " 100+ string(2) "$b" 102+ int(8) 102- int(7) 109+ string(1) " " 109- string(2) "$b" 114+ string(1) "=" 115+ [14]=> 122- [14]=> 123- string(1) "=" 129+ string(2) "20" 129- string(1) " " 134+ string(1) ";" 135+ [17]=> 138- string(2) "20" 140+ string(1) " 141+ " 142- [17]=> 143- string(1) ";" 149- string(1) " 150- " 150+ string(2) "$c" 152+ int(9) 152- int(8) 159+ string(1) " " 159- string(2) "$c" 164+ string(1) "=" 165+ [21]=> 172- [21]=> 173- string(1) "=" 179+ string(4) "true" 179- string(1) " " 184+ string(1) ";" 185+ [24]=> 188- string(4) "true" 190+ string(1) " " 192- [24]=> 193- string(1) ";" 199+ string(14) "// bool value 200+ " 199- string(1) " " 208- string(14) "// bool value 209+ string(1) " 211- int(9) 212+ int(10) 218- string(1) " 219- " 219+ string(57) "/* 220+ * Performing operation on $a,$b 221+ * display result 222+ */" 221- int(10) 224+ int(11) 228- string(59) "/* 229- * Performing operation on $a,$b 230- * display result 231- */" 232- [2]=> 233- int(11) 231+ string(1) " 232+ " 233+ [2]=> 234+ int(14) 240- string(1) " 241- " 241+ string(2) "$c" 243+ int(15) 243- int(14) 250+ string(1) " " 250- string(2) "$c" 255+ string(1) "=" 256+ [32]=> 263- [32]=> 264- string(1) "=" 270+ string(2) "$a" 270- string(1) " " 279+ string(1) " " 279- string(2) "$a" 284+ string(1) "+" 285+ [36]=> 292- [36]=> 293- string(1) "+" 299+ string(2) "$b" 299- string(1) " " 304+ string(1) ";" 305+ [39]=> 308- string(2) "$b" 310+ string(1) " 311+ " 312- [39]=> 313- string(1) ";" 319- string(1) " 320- " 320+ string(8) "var_dump" 322+ int(16) 322- int(15) 325+ string(1) "(" 326+ [42]=> 329- string(8) "var_dump" 331+ string(2) "$c" 333- [42]=> 334- string(1) "(" 336+ string(1) ")" 337+ [44]=> 338+ string(1) ";" 339+ [45]=> 340- string(2) "$c" 344+ string(1) " " 344- [44]=> 345- string(1) ")" 346- [45]=> 347- string(1) ";" 353+ string(20) "# expected: int(30) 354+ " 353- string(1) " " 362- string(20) "# expected: int(%d) 363+ string(1) " 365- int(16) 366+ int(17) 372- string(1) " 373+ string(17) "# end of program 375- int(17) 376+ int(18) 382- string(17) "# end of program 383- " 384- [2]=> 385- int(18) 383+ string(2) "?>" 384+ [2]=> 385+ int(19) 387+ } 388+ Done 387- [50]=> 388- array(3) { 389- [0]=> 390- int(%d) 391- [1]=> 392- string(2) "?>" 393- [2]=> 394- int(19) 395- } 396- } 397- Done