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

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

Count Diff
7 (54%)
003+ array(48) {
003- array(49) {
009+ string(6) "<?php
010+ "
009- string(6) "<?php "
018- string(1) "
019- "
019+ string(2) "if"
021+ int(2)
021- int(1)
024+ string(1) "("
025+ [3]=>
028- string(2) "if"
030+ string(2) "$a"
032- [3]=>
033- string(1) "("
039+ string(1) " "
039- string(2) "$a"
048+ string(2) "=="
048- string(1) " "
057+ string(1) " "
057- string(2) "=="
066+ string(4) "true"
066- string(1) " "
071+ string(1) ")"
072+ [9]=>
075- string(4) "true"
077+ string(1) " "
079- [9]=>
080- string(1) ")"
082+ string(1) "{"
083+ [11]=>
086- string(1) " "
088+ string(6) "
089+ "
090- [11]=>
091- string(1) "{"
097- string(6) "
098- "
098+ string(4) "echo"
100+ int(3)
100- int(2)
107+ string(1) " "
107- string(4) "echo"
112+ string(1) """
113+ [15]=>
116- string(1) " "
118+ string(2) "$a"
120- [15]=>
121- string(1) """
127+ string(7) " = true"
127- string(2) "$a"
132+ string(1) """
133+ [18]=>
134+ string(1) ";"
135+ [19]=>
136- string(7) " = true"
140+ string(1) "
141+ "
140- [18]=>
141- string(1) """
142- [19]=>
143- string(1) ";"
146+ string(1) "}"
147+ [21]=>
154- [21]=>
155- string(1) "}"
161- string(1) "
162- "
162+ string(6) "elseif"
164+ int(5)
164- int(4)
167+ string(1) "("
168+ [24]=>
171- string(6) "elseif"
173+ string(2) "$a"
175- [24]=>
176- string(1) "("
182+ string(1) " "
182- string(2) "$a"
191+ string(2) "=="
191- string(1) " "
200+ string(1) " "
200- string(2) "=="
209+ string(5) "false"
209- string(1) " "
214+ string(1) ")"
215+ [30]=>
218- string(5) "false"
220+ string(1) " "
222- [30]=>
223- string(1) ")"
225+ string(1) "{"
226+ [32]=>
229- string(1) " "
231+ string(3) "
232+ "
233- [32]=>
234- string(1) "{"
240- string(3) "
241- "
241+ string(4) "echo"
243+ int(6)
243- int(5)
250+ string(1) " "
250- string(4) "echo"
259+ string(5) "false"
259- string(1) " "
264+ string(1) ";"
265+ [37]=>
268- string(5) "false"
270+ string(1) "
271+ "
272- [37]=>
273- string(1) ";"
276+ string(1) "}"
277+ [39]=>
282- int(6)
284- [39]=>
285- string(1) "}"
285+ int(7)
291- string(1) "
292- "
292+ string(4) "else"
294+ int(8)
294- int(7)
301+ string(3) "
302+ "
301- string(4) "else"
310- string(3) "
311- "
311+ string(4) "echo"
313+ int(9)
313- int(8)
320+ string(1) " "
320- string(4) "echo"
329+ string(1) "1"
329- string(1) " "
334+ string(1) ";"
335+ [46]=>
338- string(1) "1"
340+ string(1) "
341+ "
342- [46]=>
343- string(1) ";"
349- string(1) "
350- "
351- [2]=>
352- int(9)
353- }
354- [48]=>
350+ string(2) "?>"
351+ [2]=>
352+ int(10)
353+ }
354+ }
355+ -- with while..., do..while, switch & continue tokens --
356+ array(33) {
357+ [0]=>
359- string(2) "?>"
361- int(10)
362+ string(6) "<?php "
363- }
364- -- with while..., do..while, switch & continue tokens --
365- array(33) {
366- [0]=>
364+ int(1)
366+ [1]=>
371+ string(5) "while"
371- string(6) "<?php "
375+ [2]=>
376+ string(1) "("
377+ [3]=>
375- [1]=>
380- string(5) "while"
382+ string(4) "true"
384- [2]=>
385- string(1) "("
386- [3]=>
386+ [4]=>
387+ string(1) ")"
388+ [5]=>
391- string(4) "true"
393+ string(1) " "
395- [4]=>
396- string(1) ")"
397- [5]=>
397+ [6]=>
398+ string(1) "{"
399+ [7]=>
402- string(1) " "
404+ string(1) "
405+ "
406- [6]=>
407- string(1) "{"
408- [7]=>
409+ [8]=>
413- string(1) "
414- "
415- [2]=>
416- int(1)
417- }
418- [8]=>
414+ string(4) "echo"
415+ [2]=>
416+ int(2)
417+ }
418+ [9]=>
423+ string(1) " "
423- string(4) "echo"
427+ [10]=>
427- [9]=>
432+ string(6) "'True'"
432- string(1) " "
436+ [11]=>
437+ string(1) ";"
438+ [12]=>
436- [10]=>
441- string(6) "'True'"
443+ string(1) "
444+ "
445- [11]=>
446- string(1) ";"
447- [12]=>
448+ [13]=>
452- string(1) "
453- "
454- [2]=>
455- int(2)
456- }
457- [13]=>
453+ string(5) "break"
454+ [2]=>
455+ int(3)
456+ }
457+ [14]=>
458+ string(1) ";"
459+ [15]=>
462- string(5) "break"
464+ string(1) "
465+ "
466- [14]=>
467- string(1) ";"
468- [15]=>
469+ [16]=>
470+ string(1) "}"
471+ [17]=>
478- [16]=>
479- string(1) "}"
480- [17]=>
481+ [18]=>
485- string(1) "
486- "
487- [2]=>
488- int(4)
489- }
490- [18]=>
486+ string(2) "do"
487+ [2]=>
488+ int(5)
489+ }
490+ [19]=>
495+ string(1) " "
495- string(2) "do"
499+ [20]=>
500+ string(1) "{"
501+ [21]=>
499- [19]=>
504- string(1) " "
506+ string(1) "
507+ "
508- [20]=>
509- string(1) "{"
510- [21]=>
511+ [22]=>
515- string(1) "
516- "
517- [2]=>
518- int(5)
519- }
520- [22]=>
516+ string(8) "continue"
517+ [2]=>
518+ int(6)
519+ }
520+ [23]=>
521+ string(1) ";"
522+ [24]=>
525- string(8) "continue"
527+ string(1) "
528+ "
529- [23]=>
530- string(1) ";"
531- [24]=>
532+ [25]=>
533+ string(1) "}"
534+ [26]=>
536- string(1) "
537- "
538- [2]=>
539- int(6)
540- }
541- [25]=>
542- string(1) "}"
543- [26]=>
539+ string(5) "while"
540+ [2]=>
541+ int(7)
542+ }
543+ [27]=>
544+ string(1) "("
545+ [28]=>
548- string(5) "while"
550+ string(5) "false"
552- [27]=>
553- string(1) "("
554- [28]=>
554+ [29]=>
555+ string(1) ")"
556+ [30]=>
557+ string(1) ";"
558+ [31]=>
559- string(5) "false"
563+ string(1) " "
563- [29]=>
564- string(1) ")"
565- [30]=>
566- string(1) ";"
567- [31]=>
567+ [32]=>
572+ string(2) "?>"
572- string(1) " "
576+ }
577+ -- with for..foreach( as ) tokens --
578+ array(45) {
579+ [0]=>
576- [32]=>
581- string(2) "?>"
583- int(7)
584+ string(6) "<?php "
585- }
586- -- with for..foreach( as ) tokens --
587- array(45) {
588- [0]=>
586+ int(1)
588+ [1]=>
593+ string(3) "for"
593- string(6) "<?php "
597+ [2]=>
598+ string(1) "("
599+ [3]=>
597- [1]=>
602- string(3) "for"
604+ string(6) "$count"
606- [2]=>
607- string(1) "("
608- [3]=>
608+ [4]=>
609+ string(1) "="
610+ [5]=>
613- string(6) "$count"
615+ string(1) "0"
617- [4]=>
618- string(1) "="
619- [5]=>
619+ [6]=>
620+ string(1) ";"
621+ [7]=>
624- string(1) "0"
626+ string(1) " "
628- [6]=>
629- string(1) ";"
630- [7]=>
630+ [8]=>
635+ string(6) "$count"
635- string(1) " "
639+ [9]=>
639- [8]=>
644+ string(1) " "
644- string(6) "$count"
648+ [10]=>
649+ string(1) "<"
650+ [11]=>
648- [9]=>
657- [10]=>
658- string(1) "<"
659- [11]=>
659+ [12]=>
664+ string(1) "5"
664- string(1) " "
668+ [13]=>
669+ string(1) ";"
670+ [14]=>
668- [12]=>
673- string(1) "5"
675+ string(1) " "
677- [13]=>
678- string(1) ";"
679- [14]=>
679+ [15]=>
684+ string(6) "$count"
684- string(1) " "
688+ [16]=>
688- [15]=>
693+ string(2) "++"
693- string(6) "$count"
697+ [17]=>
698+ string(1) ")"
699+ [18]=>
697- [16]=>
702- string(2) "++"
704+ string(1) " "
706- [17]=>
707- string(1) ")"
708- [18]=>
708+ [19]=>
709+ string(1) "{"
710+ [20]=>
713- string(1) " "
715+ string(1) "
716+ "
717- [19]=>
718- string(1) "{"
719- [20]=>
720+ [21]=>
724- string(1) "
725- "
726- [2]=>
727- int(1)
728- }
729- [21]=>
725+ string(4) "echo"
726+ [2]=>
727+ int(2)
728+ }
729+ [22]=>
734+ string(1) " "
734- string(4) "echo"
738+ [23]=>
738- [22]=>
743+ string(6) "$count"
743- string(1) " "
747+ [24]=>
748+ string(1) ";"
749+ [25]=>
747- [23]=>
752- string(6) "$count"
754+ string(1) "
755+ "
756- [24]=>
757- string(1) ";"
758- [25]=>
759+ [26]=>
760+ string(1) "}"
761+ [27]=>
766- int(2)
768- [26]=>
769- string(1) "}"
770- [27]=>
769+ int(3)
771+ [28]=>
775- string(1) "
776- "
776+ string(7) "foreach"
780+ [29]=>
781+ string(1) "("
782+ [30]=>
780- [28]=>
785- string(7) "foreach"
787+ string(7) "$values"
789- [29]=>
790- string(1) "("
791- [30]=>
791+ [31]=>
796+ string(1) " "
796- string(7) "$values"
800+ [32]=>
800- [31]=>
805+ string(2) "as"
805- string(1) " "
809+ [33]=>
809- [32]=>
814+ string(1) " "
814- string(2) "as"
818+ [34]=>
818- [33]=>
823+ string(6) "$index"
823- string(1) " "
827+ [35]=>
828+ string(1) ")"
829+ [36]=>
827- [34]=>
832- string(6) "$index"
834+ string(1) " "
836- [35]=>
837- string(1) ")"
838- [36]=>
838+ [37]=>
839+ string(1) "{"
840+ [38]=>
843- string(1) " "
845+ string(1) "
846+ "
847- [37]=>
848- string(1) "{"
849- [38]=>
850+ [39]=>
854- string(1) "
855- "
856- [2]=>
857- int(4)
858- }
859- [39]=>
855+ string(8) "continue"
856+ [2]=>
857+ int(5)
858+ }
859+ [40]=>
860+ string(1) ";"
861+ [41]=>
864- string(8) "continue"
866+ string(1) "
867+ "
868- [40]=>
869- string(1) ";"
870- [41]=>
871+ [42]=>
872+ string(1) "}"
873+ [43]=>
875- string(1) "
876- "
878+ string(1) " "
879+ [2]=>
880+ int(6)
881+ }
882+ [44]=>
883+ array(3) {
884+ [0]=>
885+ int(384)
886+ [1]=>
887+ string(2) "?>"
878- int(5)
880- [42]=>
881- string(1) "}"
882- [43]=>
887- string(1) " "
889+ int(6)
889- int(6)
891+ }
892+ -- with switch...case tokens --
893+ array(23) {
894+ [0]=>
891- [44]=>
896- string(2) "?>"
898- int(6)
899+ string(6) "<?php "
900- }
901- -- with switch...case tokens --
902- array(23) {
903- [0]=>
901+ int(1)
903+ [1]=>
908+ string(6) "switch"
908- string(6) "<?php "
910+ int(1)
912+ [2]=>
913+ string(1) "("
914+ [3]=>
912- [1]=>
917- string(6) "switch"
919+ string(4) "$var"
921- [2]=>
922- string(1) "("
923- [3]=>
923+ [4]=>
924+ string(1) ")"
925+ [5]=>
928- string(4) "$var"
930+ string(1) "
931+ "
930- int(1)
932- [4]=>
933- string(1) ")"
934- [5]=>
935+ [6]=>
939- string(1) "
940- "
941- [2]=>
942- int(1)
943- }
944- [6]=>
940+ string(4) "case"
942+ int(2)
944+ [7]=>
949+ string(1) " "
950+ [2]=>
951+ int(2)
952+ }
953+ [8]=>
949- string(4) "case"
953- [7]=>
958+ string(1) "1"
962+ [9]=>
963+ string(1) ":"
964+ [10]=>
962- [8]=>
967- string(1) "1"
971- [9]=>
972- string(1) ":"
973- [10]=>
973+ [11]=>
978+ string(5) "break"
978- string(1) " "
982+ [12]=>
983+ string(1) ";"
984+ [13]=>
982- [11]=>
987- string(5) "break"
989+ string(1) "
990+ "
989- int(2)
991- [12]=>
992- string(1) ";"
993- [13]=>
994+ [14]=>
998- string(1) "
999- "
1000- [2]=>
1001- int(2)
1002- }
1003- [14]=>
999+ string(7) "default"
1001+ int(3)
1003+ [15]=>
1004+ string(1) ":"
1005+ [16]=>
1008- string(7) "default"
1010+ string(1) " "
1011+ [2]=>
1012+ int(3)
1013+ }
1014+ [17]=>
1012- [15]=>
1013- string(1) ":"
1014- [16]=>
1019+ string(4) "echo"
1023+ [18]=>
1023- [17]=>
1028- string(4) "echo"
1032+ [19]=>
1032- [18]=>
1037+ string(9) ""default""
1041+ [20]=>
1042+ string(1) ";"
1043+ [21]=>
1041- [19]=>
1046- string(9) ""default""
1050- [20]=>
1051- string(1) ";"
1052+ [22]=>
1057+ string(2) "?>"
1061+ }
1062+ Done
1052- [21]=>
1053- array(3) {
1054- [0]=>
1055- int(%d)
1056- [1]=>
1057- string(1) " "
1058- [2]=>
1059- int(%d)
1060- }
1061- [22]=>
1062- array(3) {
1063- [0]=>
1064- int(%d)
1065- [1]=>
1066- string(2) "?>"
1067- [2]=>
1068- int(%d)
1069- }
1070- }
1071- Done
6 (46%)
003+ array(48) { 003- array(49) { 009+ string(6) "<?php 010+ " 009- string(6) "<?php " 018- string(1) " 019- " 019+ string(2) "if" 021+ int(2) 021- int(1) 024+ string(1) "(" 025+ [3]=> 028- string(2) "if" 030+ string(2) "$a" 032- [3]=> 033- string(1) "(" 039+ string(1) " " 039- string(2) "$a" 048+ string(2) "==" 048- string(1) " " 057+ string(1) " " 057- string(2) "==" 066+ string(4) "true" 066- string(1) " " 071+ string(1) ")" 072+ [9]=> 075- string(4) "true" 077+ string(1) " " 079- [9]=> 080- string(1) ")" 082+ string(1) "{" 083+ [11]=> 086- string(1) " " 088+ string(6) " 089+ " 090- [11]=> 091- string(1) "{" 097- string(6) " 098- " 098+ string(4) "echo" 100+ int(3) 100- int(2) 107+ string(1) " " 107- string(4) "echo" 112+ string(1) """ 113+ [15]=> 116- string(1) " " 118+ string(2) "$a" 120- [15]=> 121- string(1) """ 127+ string(7) " = true" 127- string(2) "$a" 132+ string(1) """ 133+ [18]=> 134+ string(1) ";" 135+ [19]=> 136- string(7) " = true" 140+ string(1) " 141+ " 140- [18]=> 141- string(1) """ 142- [19]=> 143- string(1) ";" 146+ string(1) "}" 147+ [21]=> 154- [21]=> 155- string(1) "}" 161- string(1) " 162- " 162+ string(6) "elseif" 164+ int(5) 164- int(4) 167+ string(1) "(" 168+ [24]=> 171- string(6) "elseif" 173+ string(2) "$a" 175- [24]=> 176- string(1) "(" 182+ string(1) " " 182- string(2) "$a" 191+ string(2) "==" 191- string(1) " " 200+ string(1) " " 200- string(2) "==" 209+ string(5) "false" 209- string(1) " " 214+ string(1) ")" 215+ [30]=> 218- string(5) "false" 220+ string(1) " " 222- [30]=> 223- string(1) ")" 225+ string(1) "{" 226+ [32]=> 229- string(1) " " 231+ string(3) " 232+ " 233- [32]=> 234- string(1) "{" 240- string(3) " 241- " 241+ string(4) "echo" 243+ int(6) 243- int(5) 250+ string(1) " " 250- string(4) "echo" 259+ string(5) "false" 259- string(1) " " 264+ string(1) ";" 265+ [37]=> 268- string(5) "false" 270+ string(1) " 271+ " 272- [37]=> 273- string(1) ";" 276+ string(1) "}" 277+ [39]=> 282- int(6) 284- [39]=> 285- string(1) "}" 285+ int(7) 291- string(1) " 292- " 292+ string(4) "else" 294+ int(8) 294- int(7) 301+ string(3) " 302+ " 301- string(4) "else" 310- string(3) " 311- " 311+ string(4) "echo" 313+ int(9) 313- int(8) 320+ string(1) " " 320- string(4) "echo" 329+ string(1) "1" 329- string(1) " " 334+ string(1) ";" 335+ [46]=> 338- string(1) "1" 340+ string(1) " 341+ " 342- [46]=> 343- string(1) ";" 349- string(1) " 350- " 351- [2]=> 352- int(9) 353- } 354- [48]=> 350+ string(2) "?>" 351+ [2]=> 352+ int(10) 353+ } 354+ } 355+ -- with while..., do..while, switch & continue tokens -- 356+ array(33) { 357+ [0]=> 359- string(2) "?>" 361- int(10) 362+ string(6) "<?php " 363- } 364- -- with while..., do..while, switch & continue tokens -- 365- array(33) { 366- [0]=> 364+ int(1) 366+ [1]=> 371+ string(5) "while" 371- string(6) "<?php " 375+ [2]=> 376+ string(1) "(" 377+ [3]=> 375- [1]=> 380- string(5) "while" 382+ string(4) "true" 384- [2]=> 385- string(1) "(" 386- [3]=> 386+ [4]=> 387+ string(1) ")" 388+ [5]=> 391- string(4) "true" 393+ string(1) " " 395- [4]=> 396- string(1) ")" 397- [5]=> 397+ [6]=> 398+ string(1) "{" 399+ [7]=> 402- string(1) " " 404+ string(1) " 405+ " 406- [6]=> 407- string(1) "{" 408- [7]=> 409+ [8]=> 413- string(1) " 414- " 415- [2]=> 416- int(1) 417- } 418- [8]=> 414+ string(4) "echo" 415+ [2]=> 416+ int(2) 417+ } 418+ [9]=> 423+ string(1) " " 423- string(4) "echo" 427+ [10]=> 427- [9]=> 432+ string(6) "'True'" 432- string(1) " " 436+ [11]=> 437+ string(1) ";" 438+ [12]=> 436- [10]=> 441- string(6) "'True'" 443+ string(1) " 444+ " 445- [11]=> 446- string(1) ";" 447- [12]=> 448+ [13]=> 452- string(1) " 453- " 454- [2]=> 455- int(2) 456- } 457- [13]=> 453+ string(5) "break" 454+ [2]=> 455+ int(3) 456+ } 457+ [14]=> 458+ string(1) ";" 459+ [15]=> 462- string(5) "break" 464+ string(1) " 465+ " 466- [14]=> 467- string(1) ";" 468- [15]=> 469+ [16]=> 470+ string(1) "}" 471+ [17]=> 478- [16]=> 479- string(1) "}" 480- [17]=> 481+ [18]=> 485- string(1) " 486- " 487- [2]=> 488- int(4) 489- } 490- [18]=> 486+ string(2) "do" 487+ [2]=> 488+ int(5) 489+ } 490+ [19]=> 495+ string(1) " " 495- string(2) "do" 499+ [20]=> 500+ string(1) "{" 501+ [21]=> 499- [19]=> 504- string(1) " " 506+ string(1) " 507+ " 508- [20]=> 509- string(1) "{" 510- [21]=> 511+ [22]=> 515- string(1) " 516- " 517- [2]=> 518- int(5) 519- } 520- [22]=> 516+ string(8) "continue" 517+ [2]=> 518+ int(6) 519+ } 520+ [23]=> 521+ string(1) ";" 522+ [24]=> 525- string(8) "continue" 527+ string(1) " 528+ " 529- [23]=> 530- string(1) ";" 531- [24]=> 532+ [25]=> 533+ string(1) "}" 534+ [26]=> 536- string(1) " 537- " 538- [2]=> 539- int(6) 540- } 541- [25]=> 542- string(1) "}" 543- [26]=> 539+ string(5) "while" 540+ [2]=> 541+ int(7) 542+ } 543+ [27]=> 544+ string(1) "(" 545+ [28]=> 548- string(5) "while" 550+ string(5) "false" 552- [27]=> 553- string(1) "(" 554- [28]=> 554+ [29]=> 555+ string(1) ")" 556+ [30]=> 557+ string(1) ";" 558+ [31]=> 559- string(5) "false" 563+ string(1) " " 563- [29]=> 564- string(1) ")" 565- [30]=> 566- string(1) ";" 567- [31]=> 567+ [32]=> 572+ string(2) "?>" 572- string(1) " " 576+ } 577+ -- with for..foreach( as ) tokens -- 578+ array(45) { 579+ [0]=> 576- [32]=> 581- string(2) "?>" 583- int(7) 584+ string(6) "<?php " 585- } 586- -- with for..foreach( as ) tokens -- 587- array(45) { 588- [0]=> 586+ int(1) 588+ [1]=> 593+ string(3) "for" 593- string(6) "<?php " 597+ [2]=> 598+ string(1) "(" 599+ [3]=> 597- [1]=> 602- string(3) "for" 604+ string(6) "$count" 606- [2]=> 607- string(1) "(" 608- [3]=> 608+ [4]=> 609+ string(1) "=" 610+ [5]=> 613- string(6) "$count" 615+ string(1) "0" 617- [4]=> 618- string(1) "=" 619- [5]=> 619+ [6]=> 620+ string(1) ";" 621+ [7]=> 624- string(1) "0" 626+ string(1) " " 628- [6]=> 629- string(1) ";" 630- [7]=> 630+ [8]=> 635+ string(6) "$count" 635- string(1) " " 639+ [9]=> 639- [8]=> 644+ string(1) " " 644- string(6) "$count" 648+ [10]=> 649+ string(1) "<" 650+ [11]=> 648- [9]=> 657- [10]=> 658- string(1) "<" 659- [11]=> 659+ [12]=> 664+ string(1) "5" 664- string(1) " " 668+ [13]=> 669+ string(1) ";" 670+ [14]=> 668- [12]=> 673- string(1) "5" 675+ string(1) " " 677- [13]=> 678- string(1) ";" 679- [14]=> 679+ [15]=> 684+ string(6) "$count" 684- string(1) " " 688+ [16]=> 688- [15]=> 693+ string(2) "++" 693- string(6) "$count" 697+ [17]=> 698+ string(1) ")" 699+ [18]=> 697- [16]=> 702- string(2) "++" 704+ string(1) " " 706- [17]=> 707- string(1) ")" 708- [18]=> 708+ [19]=> 709+ string(1) "{" 710+ [20]=> 713- string(1) " " 715+ string(1) " 716+ " 717- [19]=> 718- string(1) "{" 719- [20]=> 720+ [21]=> 724- string(1) " 725- " 726- [2]=> 727- int(1) 728- } 729- [21]=> 725+ string(4) "echo" 726+ [2]=> 727+ int(2) 728+ } 729+ [22]=> 734+ string(1) " " 734- string(4) "echo" 738+ [23]=> 738- [22]=> 743+ string(6) "$count" 743- string(1) " " 747+ [24]=> 748+ string(1) ";" 749+ [25]=> 747- [23]=> 752- string(6) "$count" 754+ string(1) " 755+ " 756- [24]=> 757- string(1) ";" 758- [25]=> 759+ [26]=> 760+ string(1) "}" 761+ [27]=> 766- int(2) 768- [26]=> 769- string(1) "}" 770- [27]=> 769+ int(3) 771+ [28]=> 775- string(1) " 776- " 776+ string(7) "foreach" 780+ [29]=> 781+ string(1) "(" 782+ [30]=> 780- [28]=> 785- string(7) "foreach" 787+ string(7) "$values" 789- [29]=> 790- string(1) "(" 791- [30]=> 791+ [31]=> 796+ string(1) " " 796- string(7) "$values" 800+ [32]=> 800- [31]=> 805+ string(2) "as" 805- string(1) " " 809+ [33]=> 809- [32]=> 814+ string(1) " " 814- string(2) "as" 818+ [34]=> 818- [33]=> 823+ string(6) "$index" 823- string(1) " " 827+ [35]=> 828+ string(1) ")" 829+ [36]=> 827- [34]=> 832- string(6) "$index" 834+ string(1) " " 836- [35]=> 837- string(1) ")" 838- [36]=> 838+ [37]=> 839+ string(1) "{" 840+ [38]=> 843- string(1) " " 845+ string(1) " 846+ " 847- [37]=> 848- string(1) "{" 849- [38]=> 850+ [39]=> 854- string(1) " 855- " 856- [2]=> 857- int(4) 858- } 859- [39]=> 855+ string(8) "continue" 856+ [2]=> 857+ int(5) 858+ } 859+ [40]=> 860+ string(1) ";" 861+ [41]=> 864- string(8) "continue" 866+ string(1) " 867+ " 868- [40]=> 869- string(1) ";" 870- [41]=> 871+ [42]=> 872+ string(1) "}" 873+ [43]=> 875- string(1) " 876- " 878+ string(1) " " 879+ [2]=> 880+ int(6) 881+ } 882+ [44]=> 883+ array(3) { 884+ [0]=> 885+ int(384) 886+ [1]=> 887+ string(2) "?>" 878- int(5) 880- [42]=> 881- string(1) "}" 882- [43]=> 887- string(1) " " 889+ int(6) 889- int(6) 891+ } 892+ -- with switch...case tokens -- 893+ array(23) { 894+ [0]=> 891- [44]=> 896- string(2) "?>" 898- int(6) 899+ string(6) "<?php " 900- } 901- -- with switch...case tokens -- 902- array(23) { 903- [0]=> 901+ int(1) 903+ [1]=> 908+ string(6) "switch" 908- string(6) "<?php " 910+ int(1) 912+ [2]=> 913+ string(1) "(" 914+ [3]=> 912- [1]=> 917- string(6) "switch" 919+ string(4) "$var" 921- [2]=> 922- string(1) "(" 923- [3]=> 923+ [4]=> 924+ string(1) ")" 925+ [5]=> 928- string(4) "$var" 930+ string(1) " 931+ " 930- int(1) 932- [4]=> 933- string(1) ")" 934- [5]=> 935+ [6]=> 939- string(1) " 940- " 941- [2]=> 942- int(1) 943- } 944- [6]=> 940+ string(4) "case" 942+ int(2) 944+ [7]=> 949+ string(1) " " 950+ [2]=> 951+ int(2) 952+ } 953+ [8]=> 949- string(4) "case" 953- [7]=> 958+ string(1) "1" 962+ [9]=> 963+ string(1) ":" 964+ [10]=> 962- [8]=> 967- string(1) "1" 971- [9]=> 972- string(1) ":" 973- [10]=> 973+ [11]=> 978+ string(5) "break" 978- string(1) " " 982+ [12]=> 983+ string(1) ";" 984+ [13]=> 982- [11]=> 987- string(5) "break" 989+ string(1) " 990+ " 989- int(2) 991- [12]=> 992- string(1) ";" 993- [13]=> 994+ [14]=> 998- string(1) " 999- " 1000- [2]=> 1001- int(2) 1002- } 1003- [14]=> 999+ string(7) "default" 1001+ int(3) 1003+ [15]=> 1004+ string(1) ":" 1005+ [16]=> 1008- string(7) "default" 1010+ string(1) " " 1011+ [2]=> 1012+ int(3) 1013+ } 1014+ [17]=> 1012- [15]=> 1013- string(1) ":" 1014- [16]=> 1019+ string(4) "echo" 1023+ [18]=> 1023- [17]=> 1028- string(4) "echo" 1032+ [19]=> 1032- [18]=> 1037+ string(9) ""default"" 1041+ [20]=> 1042+ string(1) ";" 1043+ [21]=> 1041- [19]=> 1046- string(9) ""default"" 1050- [20]=> 1051- string(1) ";" 1052+ [22]=> 1057+ string(2) "?>" 1061+ } 1062+ Done 1052- [21]=> 1053- array(3) { 1054- [0]=> 1055- int(%d) 1056- [1]=> 1057- string(1) " " 1058- [2]=> 1059- int(%d) 1060- } 1061- [22]=> 1062- array(3) { 1063- [0]=> 1064- int(%d) 1065- [1]=> 1066- string(2) "?>" 1067- [2]=> 1068- int(%d) 1069- } 1070- } 1071- Done