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

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

Count Diff
7 (54%)
002+ array(88) {
002- array(89) {
008+ string(6) "<?php
009+ "
008- string(6) "<?php "
017- string(1) "
018- "
018+ string(2) "if"
020+ int(2)
020- int(1)
023+ string(1) "("
024+ [3]=>
027- string(2) "if"
029+ string(2) "$a"
031- [3]=>
032- string(1) "("
038+ string(1) " "
038- string(2) "$a"
047+ string(2) "=="
047- string(1) " "
056+ string(1) " "
056- string(2) "=="
065+ string(1) "0"
065- string(1) " "
070+ string(1) ")"
071+ [9]=>
074- string(1) "0"
076+ string(3) "
077+ "
078- [9]=>
079- string(1) ")"
085- string(4) "
086- "
086+ string(4) "echo"
088+ int(3)
088- int(2)
095+ string(1) " "
095- string(4) "echo"
104+ string(6) ""== 0""
104- string(1) " "
109+ string(1) ";"
110+ [14]=>
113- string(6) ""== 0""
115+ string(1) "
116+ "
117- [14]=>
118- string(1) ";"
124- string(1) "
125- "
125+ string(6) "elseif"
130+ string(1) "("
131+ [17]=>
134- string(6) "elseif"
136+ string(2) "$a"
138- [17]=>
139- string(1) "("
145+ string(1) " "
145- string(2) "$a"
154+ string(3) "==="
154- string(1) " "
163+ string(1) " "
163- string(3) "==="
172+ string(1) "2"
172- string(1) " "
177+ string(1) ")"
178+ [23]=>
181- string(1) "2"
183+ string(3) "
184+ "
185- [23]=>
186- string(1) ")"
192- string(3) "
193- "
193+ string(4) "echo"
195+ int(5)
195- int(4)
202+ string(1) " "
202- string(4) "echo"
211+ string(7) ""=== 2""
211- string(1) " "
216+ string(1) ";"
217+ [28]=>
220- string(7) ""=== 2""
222+ string(1) "
223+ "
224- [28]=>
225- string(1) ";"
231- string(1) "
232- "
232+ string(6) "elseif"
234+ int(6)
234- int(5)
237+ string(1) "("
238+ [31]=>
241- string(6) "elseif"
243+ string(2) "$a"
245- [31]=>
246- string(1) "("
252+ string(1) " "
252- string(2) "$a"
261+ string(2) ">="
261- string(1) " "
270+ string(1) " "
270- string(2) ">="
279+ string(2) "10"
279- string(1) " "
288+ string(1) " "
288- string(2) "10"
297+ string(2) "&&"
297- string(1) " "
306+ string(1) " "
306- string(2) "&&"
315+ string(2) "$a"
315- string(1) " "
324+ string(1) " "
324- string(2) "$a"
333+ string(2) "<="
333- string(1) " "
342+ string(1) " "
342- string(2) "<="
351+ string(2) "20"
351- string(1) " "
356+ string(1) ")"
357+ [45]=>
360- string(2) "20"
362+ string(3) "
363+ "
364- [45]=>
365- string(1) ")"
371- string(3) "
372- "
372+ string(4) "echo"
374+ int(7)
374- int(6)
381+ string(1) " "
381- string(4) "echo"
390+ string(14) "">= 10 & <=20""
390- string(1) " "
395+ string(1) ";"
396+ [50]=>
399- string(14) "">= 10 & <=20""
401+ string(1) "
402+ "
403- [50]=>
404- string(1) ";"
410- string(1) "
411- "
411+ string(6) "elseif"
413+ int(8)
413- int(7)
416+ string(1) "("
417+ [53]=>
420- string(6) "elseif"
422+ string(2) "$a"
424- [53]=>
425- string(1) "("
431+ string(1) " "
431- string(2) "$a"
440+ string(2) "!="
440- string(1) " "
449+ string(1) " "
449- string(2) "!="
458+ string(1) "1"
458- string(1) " "
467+ string(1) " "
467- string(1) "1"
476+ string(2) "||"
476- string(1) " "
485+ string(1) " "
485- string(2) "||"
494+ string(2) "$a"
494- string(1) " "
503+ string(1) " "
503- string(2) "$a"
512+ string(2) "<>"
512- string(1) " "
521+ string(1) " "
521- string(2) "<>"
530+ string(1) "1"
530- string(1) " "
535+ string(1) ")"
536+ [67]=>
539- string(1) "1"
541+ string(3) "
542+ "
543- [67]=>
544- string(1) ")"
550- string(3) "
551- "
551+ string(4) "echo"
553+ int(9)
553- int(8)
560+ string(1) " "
560- string(4) "echo"
569+ string(6) ""!= 1""
569- string(1) " "
574+ string(1) ";"
575+ [72]=>
578- string(6) ""!= 1""
580+ string(1) "
581+ "
582- [72]=>
583- string(1) ";"
589- string(1) "
590- "
590+ string(6) "elseif"
592+ int(10)
592- int(9)
595+ string(1) "("
596+ [75]=>
599- string(6) "elseif"
601+ string(2) "$a"
603- [75]=>
604- string(1) "("
610+ string(1) " "
610- string(2) "$a"
619+ string(3) "!=="
619- string(1) " "
628+ string(1) " "
628- string(3) "!=="
637+ string(1) "1"
637- string(1) " "
642+ string(1) ")"
643+ [81]=>
646- string(1) "1"
648+ string(3) "
649+ "
650- [81]=>
651- string(1) ")"
657- string(3) "
658- "
658+ string(4) "echo"
660+ int(11)
660- int(10)
667+ string(1) " "
667- string(4) "echo"
676+ string(6) ""!==1""
676- string(1) " "
681+ string(1) ";"
682+ [86]=>
685- string(6) ""!==1""
687+ string(1) "
688+ "
689- [86]=>
690- string(1) ";"
696- string(1) "
697- "
698- [2]=>
699- int(11)
697+ string(2) "?>"
698+ [2]=>
699+ int(12)
701+ }
702+ Done
701- [88]=>
702- array(3) {
703- [0]=>
704- int(%d)
705- [1]=>
706- string(2) "?>"
707- [2]=>
708- int(12)
709- }
710- }
711- Done
6 (46%)
002+ array(88) { 002- array(89) { 008+ string(6) "<?php 009+ " 008- string(6) "<?php " 017- string(1) " 018- " 018+ string(2) "if" 020+ int(2) 020- int(1) 023+ string(1) "(" 024+ [3]=> 027- string(2) "if" 029+ string(2) "$a" 031- [3]=> 032- string(1) "(" 038+ string(1) " " 038- string(2) "$a" 047+ string(2) "==" 047- string(1) " " 056+ string(1) " " 056- string(2) "==" 065+ string(1) "0" 065- string(1) " " 070+ string(1) ")" 071+ [9]=> 074- string(1) "0" 076+ string(3) " 077+ " 078- [9]=> 079- string(1) ")" 085- string(4) " 086- " 086+ string(4) "echo" 088+ int(3) 088- int(2) 095+ string(1) " " 095- string(4) "echo" 104+ string(6) ""== 0"" 104- string(1) " " 109+ string(1) ";" 110+ [14]=> 113- string(6) ""== 0"" 115+ string(1) " 116+ " 117- [14]=> 118- string(1) ";" 124- string(1) " 125- " 125+ string(6) "elseif" 130+ string(1) "(" 131+ [17]=> 134- string(6) "elseif" 136+ string(2) "$a" 138- [17]=> 139- string(1) "(" 145+ string(1) " " 145- string(2) "$a" 154+ string(3) "===" 154- string(1) " " 163+ string(1) " " 163- string(3) "===" 172+ string(1) "2" 172- string(1) " " 177+ string(1) ")" 178+ [23]=> 181- string(1) "2" 183+ string(3) " 184+ " 185- [23]=> 186- string(1) ")" 192- string(3) " 193- " 193+ string(4) "echo" 195+ int(5) 195- int(4) 202+ string(1) " " 202- string(4) "echo" 211+ string(7) ""=== 2"" 211- string(1) " " 216+ string(1) ";" 217+ [28]=> 220- string(7) ""=== 2"" 222+ string(1) " 223+ " 224- [28]=> 225- string(1) ";" 231- string(1) " 232- " 232+ string(6) "elseif" 234+ int(6) 234- int(5) 237+ string(1) "(" 238+ [31]=> 241- string(6) "elseif" 243+ string(2) "$a" 245- [31]=> 246- string(1) "(" 252+ string(1) " " 252- string(2) "$a" 261+ string(2) ">=" 261- string(1) " " 270+ string(1) " " 270- string(2) ">=" 279+ string(2) "10" 279- string(1) " " 288+ string(1) " " 288- string(2) "10" 297+ string(2) "&&" 297- string(1) " " 306+ string(1) " " 306- string(2) "&&" 315+ string(2) "$a" 315- string(1) " " 324+ string(1) " " 324- string(2) "$a" 333+ string(2) "<=" 333- string(1) " " 342+ string(1) " " 342- string(2) "<=" 351+ string(2) "20" 351- string(1) " " 356+ string(1) ")" 357+ [45]=> 360- string(2) "20" 362+ string(3) " 363+ " 364- [45]=> 365- string(1) ")" 371- string(3) " 372- " 372+ string(4) "echo" 374+ int(7) 374- int(6) 381+ string(1) " " 381- string(4) "echo" 390+ string(14) "">= 10 & <=20"" 390- string(1) " " 395+ string(1) ";" 396+ [50]=> 399- string(14) "">= 10 & <=20"" 401+ string(1) " 402+ " 403- [50]=> 404- string(1) ";" 410- string(1) " 411- " 411+ string(6) "elseif" 413+ int(8) 413- int(7) 416+ string(1) "(" 417+ [53]=> 420- string(6) "elseif" 422+ string(2) "$a" 424- [53]=> 425- string(1) "(" 431+ string(1) " " 431- string(2) "$a" 440+ string(2) "!=" 440- string(1) " " 449+ string(1) " " 449- string(2) "!=" 458+ string(1) "1" 458- string(1) " " 467+ string(1) " " 467- string(1) "1" 476+ string(2) "||" 476- string(1) " " 485+ string(1) " " 485- string(2) "||" 494+ string(2) "$a" 494- string(1) " " 503+ string(1) " " 503- string(2) "$a" 512+ string(2) "<>" 512- string(1) " " 521+ string(1) " " 521- string(2) "<>" 530+ string(1) "1" 530- string(1) " " 535+ string(1) ")" 536+ [67]=> 539- string(1) "1" 541+ string(3) " 542+ " 543- [67]=> 544- string(1) ")" 550- string(3) " 551- " 551+ string(4) "echo" 553+ int(9) 553- int(8) 560+ string(1) " " 560- string(4) "echo" 569+ string(6) ""!= 1"" 569- string(1) " " 574+ string(1) ";" 575+ [72]=> 578- string(6) ""!= 1"" 580+ string(1) " 581+ " 582- [72]=> 583- string(1) ";" 589- string(1) " 590- " 590+ string(6) "elseif" 592+ int(10) 592- int(9) 595+ string(1) "(" 596+ [75]=> 599- string(6) "elseif" 601+ string(2) "$a" 603- [75]=> 604- string(1) "(" 610+ string(1) " " 610- string(2) "$a" 619+ string(3) "!==" 619- string(1) " " 628+ string(1) " " 628- string(3) "!==" 637+ string(1) "1" 637- string(1) " " 642+ string(1) ")" 643+ [81]=> 646- string(1) "1" 648+ string(3) " 649+ " 650- [81]=> 651- string(1) ")" 657- string(3) " 658- " 658+ string(4) "echo" 660+ int(11) 660- int(10) 667+ string(1) " " 667- string(4) "echo" 676+ string(6) ""!==1"" 676- string(1) " " 681+ string(1) ";" 682+ [86]=> 685- string(6) ""!==1"" 687+ string(1) " 688+ " 689- [86]=> 690- string(1) ";" 696- string(1) " 697- " 698- [2]=> 699- int(11) 697+ string(2) "?>" 698+ [2]=> 699+ int(12) 701+ } 702+ Done 701- [88]=> 702- array(3) { 703- [0]=> 704- int(%d) 705- [1]=> 706- string(2) "?>" 707- [2]=> 708- int(12) 709- } 710- } 711- Done