1--TEST--
2Test strspn() function : usage variations - with heredoc strings, varying start and len args
3--FILE--
4<?php
5/* Prototype  : proto int strspn(string str, string mask [, int start [, int len]])
6 * Description: Finds length of initial segment consisting entirely of characters found in mask.
7                If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
8 * Source code: ext/standard/string.c
9 * Alias to functions: none
10*/
11
12/*
13* Testing strspn() : with heredoc string, varying start and len arguments
14*/
15
16echo "*** Testing strspn() : with different start and len values ***\n";
17
18// initialing required variables
19// defining different heredoc strings
20$empty_heredoc = <<<EOT
21EOT;
22
23$heredoc_with_newline = <<<EOT
24\n
25
26EOT;
27
28$heredoc_with_characters = <<<EOT
29first line of heredoc string
30second line of heredoc string
31third line of heredocstring
32EOT;
33
34$heredoc_with_newline_and_tabs = <<<EOT
35hello\tworld\nhello\nworld\n
36EOT;
37
38$heredoc_with_alphanumerics = <<<EOT
39hello123world456
401234hello\t1234
41EOT;
42
43$heredoc_with_embedded_nulls = <<<EOT
44hello\0world\0hello
45\0hello\0
46EOT;
47
48$heredoc_with_hexa_octal = <<<EOT
49hello\0\100\xaaworld\0hello
50\0hello\0
51EOT;
52
53// defining array of different heredoc strings
54$heredoc_strings = array(
55                   $empty_heredoc,
56                   $heredoc_with_newline,
57                   $heredoc_with_characters,
58                   $heredoc_with_newline_and_tabs,
59                   $heredoc_with_alphanumerics,
60                   $heredoc_with_embedded_nulls,
61                   $heredoc_with_hexa_octal
62                   );
63
64// defining array of different mask strings
65$mask_array = array(
66		    "",
67		    '',
68		    "f\n\\0htersti \l",
69		    "\t",
70		    "het\ ",
71		    "fel\th\ ",
72                    "f\t\hiel\100\xaa"
73                   );
74
75// defining array of different start values
76$start_array = array(
77		    0,
78		    1,
79 	            2,
80		    -1,
81		    2147483647,  // max positive integer
82		    -2147483648,  // min negative integer
83                   );
84
85// defining array of different len values
86$len_array = array(
87		    0,
88		    1,
89 	            2,
90		    -1,
91		    2147483647,  // max positive integer
92		    -2147483648,  // min negative integer
93                   );
94
95
96// loop through each element of the array for heredoc str, mask str , start values and len values
97
98$count = 1;
99
100foreach($heredoc_strings as $str)  {
101  echo "\n-- Iteration $count --\n";
102  foreach($mask_array as $mask)  {
103    foreach($start_array as $start)  {
104      foreach($len_array as $len) {
105      var_dump( strspn($str,$mask,$start,$len) );
106      }
107    }
108  }
109  $count++;
110};
111
112echo "Done"
113?>
114--EXPECT--
115*** Testing strspn() : with different start and len values ***
116
117-- Iteration 1 --
118int(0)
119int(0)
120int(0)
121int(0)
122int(0)
123int(0)
124bool(false)
125bool(false)
126bool(false)
127bool(false)
128bool(false)
129bool(false)
130bool(false)
131bool(false)
132bool(false)
133bool(false)
134bool(false)
135bool(false)
136int(0)
137int(0)
138int(0)
139int(0)
140int(0)
141int(0)
142bool(false)
143bool(false)
144bool(false)
145bool(false)
146bool(false)
147bool(false)
148int(0)
149int(0)
150int(0)
151int(0)
152int(0)
153int(0)
154int(0)
155int(0)
156int(0)
157int(0)
158int(0)
159int(0)
160bool(false)
161bool(false)
162bool(false)
163bool(false)
164bool(false)
165bool(false)
166bool(false)
167bool(false)
168bool(false)
169bool(false)
170bool(false)
171bool(false)
172int(0)
173int(0)
174int(0)
175int(0)
176int(0)
177int(0)
178bool(false)
179bool(false)
180bool(false)
181bool(false)
182bool(false)
183bool(false)
184int(0)
185int(0)
186int(0)
187int(0)
188int(0)
189int(0)
190int(0)
191int(0)
192int(0)
193int(0)
194int(0)
195int(0)
196bool(false)
197bool(false)
198bool(false)
199bool(false)
200bool(false)
201bool(false)
202bool(false)
203bool(false)
204bool(false)
205bool(false)
206bool(false)
207bool(false)
208int(0)
209int(0)
210int(0)
211int(0)
212int(0)
213int(0)
214bool(false)
215bool(false)
216bool(false)
217bool(false)
218bool(false)
219bool(false)
220int(0)
221int(0)
222int(0)
223int(0)
224int(0)
225int(0)
226int(0)
227int(0)
228int(0)
229int(0)
230int(0)
231int(0)
232bool(false)
233bool(false)
234bool(false)
235bool(false)
236bool(false)
237bool(false)
238bool(false)
239bool(false)
240bool(false)
241bool(false)
242bool(false)
243bool(false)
244int(0)
245int(0)
246int(0)
247int(0)
248int(0)
249int(0)
250bool(false)
251bool(false)
252bool(false)
253bool(false)
254bool(false)
255bool(false)
256int(0)
257int(0)
258int(0)
259int(0)
260int(0)
261int(0)
262int(0)
263int(0)
264int(0)
265int(0)
266int(0)
267int(0)
268bool(false)
269bool(false)
270bool(false)
271bool(false)
272bool(false)
273bool(false)
274bool(false)
275bool(false)
276bool(false)
277bool(false)
278bool(false)
279bool(false)
280int(0)
281int(0)
282int(0)
283int(0)
284int(0)
285int(0)
286bool(false)
287bool(false)
288bool(false)
289bool(false)
290bool(false)
291bool(false)
292int(0)
293int(0)
294int(0)
295int(0)
296int(0)
297int(0)
298int(0)
299int(0)
300int(0)
301int(0)
302int(0)
303int(0)
304bool(false)
305bool(false)
306bool(false)
307bool(false)
308bool(false)
309bool(false)
310bool(false)
311bool(false)
312bool(false)
313bool(false)
314bool(false)
315bool(false)
316int(0)
317int(0)
318int(0)
319int(0)
320int(0)
321int(0)
322bool(false)
323bool(false)
324bool(false)
325bool(false)
326bool(false)
327bool(false)
328int(0)
329int(0)
330int(0)
331int(0)
332int(0)
333int(0)
334int(0)
335int(0)
336int(0)
337int(0)
338int(0)
339int(0)
340bool(false)
341bool(false)
342bool(false)
343bool(false)
344bool(false)
345bool(false)
346bool(false)
347bool(false)
348bool(false)
349bool(false)
350bool(false)
351bool(false)
352int(0)
353int(0)
354int(0)
355int(0)
356int(0)
357int(0)
358bool(false)
359bool(false)
360bool(false)
361bool(false)
362bool(false)
363bool(false)
364int(0)
365int(0)
366int(0)
367int(0)
368int(0)
369int(0)
370
371-- Iteration 2 --
372int(0)
373int(0)
374int(0)
375int(0)
376int(0)
377int(0)
378int(0)
379int(0)
380int(0)
381int(0)
382int(0)
383int(0)
384int(0)
385int(0)
386int(0)
387int(0)
388int(0)
389int(0)
390int(0)
391int(0)
392int(0)
393int(0)
394int(0)
395int(0)
396bool(false)
397bool(false)
398bool(false)
399bool(false)
400bool(false)
401bool(false)
402int(0)
403int(0)
404int(0)
405int(0)
406int(0)
407int(0)
408int(0)
409int(0)
410int(0)
411int(0)
412int(0)
413int(0)
414int(0)
415int(0)
416int(0)
417int(0)
418int(0)
419int(0)
420int(0)
421int(0)
422int(0)
423int(0)
424int(0)
425int(0)
426int(0)
427int(0)
428int(0)
429int(0)
430int(0)
431int(0)
432bool(false)
433bool(false)
434bool(false)
435bool(false)
436bool(false)
437bool(false)
438int(0)
439int(0)
440int(0)
441int(0)
442int(0)
443int(0)
444int(0)
445int(1)
446int(2)
447int(1)
448int(2)
449int(0)
450int(0)
451int(1)
452int(1)
453int(0)
454int(1)
455int(0)
456int(0)
457int(0)
458int(0)
459int(0)
460int(0)
461int(0)
462int(0)
463int(1)
464int(1)
465int(0)
466int(1)
467int(0)
468bool(false)
469bool(false)
470bool(false)
471bool(false)
472bool(false)
473bool(false)
474int(0)
475int(1)
476int(2)
477int(1)
478int(2)
479int(0)
480int(0)
481int(0)
482int(0)
483int(0)
484int(0)
485int(0)
486int(0)
487int(0)
488int(0)
489int(0)
490int(0)
491int(0)
492int(0)
493int(0)
494int(0)
495int(0)
496int(0)
497int(0)
498int(0)
499int(0)
500int(0)
501int(0)
502int(0)
503int(0)
504bool(false)
505bool(false)
506bool(false)
507bool(false)
508bool(false)
509bool(false)
510int(0)
511int(0)
512int(0)
513int(0)
514int(0)
515int(0)
516int(0)
517int(0)
518int(0)
519int(0)
520int(0)
521int(0)
522int(0)
523int(0)
524int(0)
525int(0)
526int(0)
527int(0)
528int(0)
529int(0)
530int(0)
531int(0)
532int(0)
533int(0)
534int(0)
535int(0)
536int(0)
537int(0)
538int(0)
539int(0)
540bool(false)
541bool(false)
542bool(false)
543bool(false)
544bool(false)
545bool(false)
546int(0)
547int(0)
548int(0)
549int(0)
550int(0)
551int(0)
552int(0)
553int(0)
554int(0)
555int(0)
556int(0)
557int(0)
558int(0)
559int(0)
560int(0)
561int(0)
562int(0)
563int(0)
564int(0)
565int(0)
566int(0)
567int(0)
568int(0)
569int(0)
570int(0)
571int(0)
572int(0)
573int(0)
574int(0)
575int(0)
576bool(false)
577bool(false)
578bool(false)
579bool(false)
580bool(false)
581bool(false)
582int(0)
583int(0)
584int(0)
585int(0)
586int(0)
587int(0)
588int(0)
589int(0)
590int(0)
591int(0)
592int(0)
593int(0)
594int(0)
595int(0)
596int(0)
597int(0)
598int(0)
599int(0)
600int(0)
601int(0)
602int(0)
603int(0)
604int(0)
605int(0)
606int(0)
607int(0)
608int(0)
609int(0)
610int(0)
611int(0)
612bool(false)
613bool(false)
614bool(false)
615bool(false)
616bool(false)
617bool(false)
618int(0)
619int(0)
620int(0)
621int(0)
622int(0)
623int(0)
624
625-- Iteration 3 --
626int(0)
627int(0)
628int(0)
629int(0)
630int(0)
631int(0)
632int(0)
633int(0)
634int(0)
635int(0)
636int(0)
637int(0)
638int(0)
639int(0)
640int(0)
641int(0)
642int(0)
643int(0)
644int(0)
645int(0)
646int(0)
647int(0)
648int(0)
649int(0)
650bool(false)
651bool(false)
652bool(false)
653bool(false)
654bool(false)
655bool(false)
656int(0)
657int(0)
658int(0)
659int(0)
660int(0)
661int(0)
662int(0)
663int(0)
664int(0)
665int(0)
666int(0)
667int(0)
668int(0)
669int(0)
670int(0)
671int(0)
672int(0)
673int(0)
674int(0)
675int(0)
676int(0)
677int(0)
678int(0)
679int(0)
680int(0)
681int(0)
682int(0)
683int(0)
684int(0)
685int(0)
686bool(false)
687bool(false)
688bool(false)
689bool(false)
690bool(false)
691bool(false)
692int(0)
693int(0)
694int(0)
695int(0)
696int(0)
697int(0)
698int(0)
699int(1)
700int(2)
701int(8)
702int(8)
703int(0)
704int(0)
705int(1)
706int(2)
707int(7)
708int(7)
709int(0)
710int(0)
711int(1)
712int(2)
713int(6)
714int(6)
715int(0)
716int(0)
717int(0)
718int(0)
719int(0)
720int(0)
721int(0)
722bool(false)
723bool(false)
724bool(false)
725bool(false)
726bool(false)
727bool(false)
728int(0)
729int(1)
730int(2)
731int(8)
732int(8)
733int(0)
734int(0)
735int(0)
736int(0)
737int(0)
738int(0)
739int(0)
740int(0)
741int(0)
742int(0)
743int(0)
744int(0)
745int(0)
746int(0)
747int(0)
748int(0)
749int(0)
750int(0)
751int(0)
752int(0)
753int(0)
754int(0)
755int(0)
756int(0)
757int(0)
758bool(false)
759bool(false)
760bool(false)
761bool(false)
762bool(false)
763bool(false)
764int(0)
765int(0)
766int(0)
767int(0)
768int(0)
769int(0)
770int(0)
771int(0)
772int(0)
773int(0)
774int(0)
775int(0)
776int(0)
777int(0)
778int(0)
779int(0)
780int(0)
781int(0)
782int(0)
783int(0)
784int(0)
785int(0)
786int(0)
787int(0)
788int(0)
789int(0)
790int(0)
791int(0)
792int(0)
793int(0)
794bool(false)
795bool(false)
796bool(false)
797bool(false)
798bool(false)
799bool(false)
800int(0)
801int(0)
802int(0)
803int(0)
804int(0)
805int(0)
806int(0)
807int(1)
808int(1)
809int(1)
810int(1)
811int(0)
812int(0)
813int(0)
814int(0)
815int(0)
816int(0)
817int(0)
818int(0)
819int(0)
820int(0)
821int(0)
822int(0)
823int(0)
824int(0)
825int(0)
826int(0)
827int(0)
828int(0)
829int(0)
830bool(false)
831bool(false)
832bool(false)
833bool(false)
834bool(false)
835bool(false)
836int(0)
837int(1)
838int(1)
839int(1)
840int(1)
841int(0)
842int(0)
843int(1)
844int(2)
845int(2)
846int(2)
847int(0)
848int(0)
849int(1)
850int(1)
851int(1)
852int(1)
853int(0)
854int(0)
855int(0)
856int(0)
857int(0)
858int(0)
859int(0)
860int(0)
861int(0)
862int(0)
863int(0)
864int(0)
865int(0)
866bool(false)
867bool(false)
868bool(false)
869bool(false)
870bool(false)
871bool(false)
872int(0)
873int(1)
874int(2)
875int(2)
876int(2)
877int(0)
878
879-- Iteration 4 --
880int(0)
881int(0)
882int(0)
883int(0)
884int(0)
885int(0)
886int(0)
887int(0)
888int(0)
889int(0)
890int(0)
891int(0)
892int(0)
893int(0)
894int(0)
895int(0)
896int(0)
897int(0)
898int(0)
899int(0)
900int(0)
901int(0)
902int(0)
903int(0)
904bool(false)
905bool(false)
906bool(false)
907bool(false)
908bool(false)
909bool(false)
910int(0)
911int(0)
912int(0)
913int(0)
914int(0)
915int(0)
916int(0)
917int(0)
918int(0)
919int(0)
920int(0)
921int(0)
922int(0)
923int(0)
924int(0)
925int(0)
926int(0)
927int(0)
928int(0)
929int(0)
930int(0)
931int(0)
932int(0)
933int(0)
934int(0)
935int(0)
936int(0)
937int(0)
938int(0)
939int(0)
940bool(false)
941bool(false)
942bool(false)
943bool(false)
944bool(false)
945bool(false)
946int(0)
947int(0)
948int(0)
949int(0)
950int(0)
951int(0)
952int(0)
953int(1)
954int(2)
955int(4)
956int(4)
957int(0)
958int(0)
959int(1)
960int(2)
961int(3)
962int(3)
963int(0)
964int(0)
965int(1)
966int(2)
967int(2)
968int(2)
969int(0)
970int(0)
971int(1)
972int(1)
973int(0)
974int(1)
975int(0)
976bool(false)
977bool(false)
978bool(false)
979bool(false)
980bool(false)
981bool(false)
982int(0)
983int(1)
984int(2)
985int(4)
986int(4)
987int(0)
988int(0)
989int(0)
990int(0)
991int(0)
992int(0)
993int(0)
994int(0)
995int(0)
996int(0)
997int(0)
998int(0)
999int(0)
1000int(0)
1001int(0)
1002int(0)
1003int(0)
1004int(0)
1005int(0)
1006int(0)
1007int(0)
1008int(0)
1009int(0)
1010int(0)
1011int(0)
1012bool(false)
1013bool(false)
1014bool(false)
1015bool(false)
1016bool(false)
1017bool(false)
1018int(0)
1019int(0)
1020int(0)
1021int(0)
1022int(0)
1023int(0)
1024int(0)
1025int(1)
1026int(2)
1027int(2)
1028int(2)
1029int(0)
1030int(0)
1031int(1)
1032int(1)
1033int(1)
1034int(1)
1035int(0)
1036int(0)
1037int(0)
1038int(0)
1039int(0)
1040int(0)
1041int(0)
1042int(0)
1043int(0)
1044int(0)
1045int(0)
1046int(0)
1047int(0)
1048bool(false)
1049bool(false)
1050bool(false)
1051bool(false)
1052bool(false)
1053bool(false)
1054int(0)
1055int(1)
1056int(2)
1057int(2)
1058int(2)
1059int(0)
1060int(0)
1061int(1)
1062int(2)
1063int(4)
1064int(4)
1065int(0)
1066int(0)
1067int(1)
1068int(2)
1069int(3)
1070int(3)
1071int(0)
1072int(0)
1073int(1)
1074int(2)
1075int(2)
1076int(2)
1077int(0)
1078int(0)
1079int(0)
1080int(0)
1081int(0)
1082int(0)
1083int(0)
1084bool(false)
1085bool(false)
1086bool(false)
1087bool(false)
1088bool(false)
1089bool(false)
1090int(0)
1091int(1)
1092int(2)
1093int(4)
1094int(4)
1095int(0)
1096int(0)
1097int(1)
1098int(2)
1099int(4)
1100int(4)
1101int(0)
1102int(0)
1103int(1)
1104int(2)
1105int(3)
1106int(3)
1107int(0)
1108int(0)
1109int(1)
1110int(2)
1111int(2)
1112int(2)
1113int(0)
1114int(0)
1115int(0)
1116int(0)
1117int(0)
1118int(0)
1119int(0)
1120bool(false)
1121bool(false)
1122bool(false)
1123bool(false)
1124bool(false)
1125bool(false)
1126int(0)
1127int(1)
1128int(2)
1129int(4)
1130int(4)
1131int(0)
1132
1133-- Iteration 5 --
1134int(0)
1135int(0)
1136int(0)
1137int(0)
1138int(0)
1139int(0)
1140int(0)
1141int(0)
1142int(0)
1143int(0)
1144int(0)
1145int(0)
1146int(0)
1147int(0)
1148int(0)
1149int(0)
1150int(0)
1151int(0)
1152int(0)
1153int(0)
1154int(0)
1155int(0)
1156int(0)
1157int(0)
1158bool(false)
1159bool(false)
1160bool(false)
1161bool(false)
1162bool(false)
1163bool(false)
1164int(0)
1165int(0)
1166int(0)
1167int(0)
1168int(0)
1169int(0)
1170int(0)
1171int(0)
1172int(0)
1173int(0)
1174int(0)
1175int(0)
1176int(0)
1177int(0)
1178int(0)
1179int(0)
1180int(0)
1181int(0)
1182int(0)
1183int(0)
1184int(0)
1185int(0)
1186int(0)
1187int(0)
1188int(0)
1189int(0)
1190int(0)
1191int(0)
1192int(0)
1193int(0)
1194bool(false)
1195bool(false)
1196bool(false)
1197bool(false)
1198bool(false)
1199bool(false)
1200int(0)
1201int(0)
1202int(0)
1203int(0)
1204int(0)
1205int(0)
1206int(0)
1207int(1)
1208int(2)
1209int(4)
1210int(4)
1211int(0)
1212int(0)
1213int(1)
1214int(2)
1215int(3)
1216int(3)
1217int(0)
1218int(0)
1219int(1)
1220int(2)
1221int(2)
1222int(2)
1223int(0)
1224int(0)
1225int(0)
1226int(0)
1227int(0)
1228int(0)
1229int(0)
1230bool(false)
1231bool(false)
1232bool(false)
1233bool(false)
1234bool(false)
1235bool(false)
1236int(0)
1237int(1)
1238int(2)
1239int(4)
1240int(4)
1241int(0)
1242int(0)
1243int(0)
1244int(0)
1245int(0)
1246int(0)
1247int(0)
1248int(0)
1249int(0)
1250int(0)
1251int(0)
1252int(0)
1253int(0)
1254int(0)
1255int(0)
1256int(0)
1257int(0)
1258int(0)
1259int(0)
1260int(0)
1261int(0)
1262int(0)
1263int(0)
1264int(0)
1265int(0)
1266bool(false)
1267bool(false)
1268bool(false)
1269bool(false)
1270bool(false)
1271bool(false)
1272int(0)
1273int(0)
1274int(0)
1275int(0)
1276int(0)
1277int(0)
1278int(0)
1279int(1)
1280int(2)
1281int(2)
1282int(2)
1283int(0)
1284int(0)
1285int(1)
1286int(1)
1287int(1)
1288int(1)
1289int(0)
1290int(0)
1291int(0)
1292int(0)
1293int(0)
1294int(0)
1295int(0)
1296int(0)
1297int(0)
1298int(0)
1299int(0)
1300int(0)
1301int(0)
1302bool(false)
1303bool(false)
1304bool(false)
1305bool(false)
1306bool(false)
1307bool(false)
1308int(0)
1309int(1)
1310int(2)
1311int(2)
1312int(2)
1313int(0)
1314int(0)
1315int(1)
1316int(2)
1317int(4)
1318int(4)
1319int(0)
1320int(0)
1321int(1)
1322int(2)
1323int(3)
1324int(3)
1325int(0)
1326int(0)
1327int(1)
1328int(2)
1329int(2)
1330int(2)
1331int(0)
1332int(0)
1333int(0)
1334int(0)
1335int(0)
1336int(0)
1337int(0)
1338bool(false)
1339bool(false)
1340bool(false)
1341bool(false)
1342bool(false)
1343bool(false)
1344int(0)
1345int(1)
1346int(2)
1347int(4)
1348int(4)
1349int(0)
1350int(0)
1351int(1)
1352int(2)
1353int(4)
1354int(4)
1355int(0)
1356int(0)
1357int(1)
1358int(2)
1359int(3)
1360int(3)
1361int(0)
1362int(0)
1363int(1)
1364int(2)
1365int(2)
1366int(2)
1367int(0)
1368int(0)
1369int(0)
1370int(0)
1371int(0)
1372int(0)
1373int(0)
1374bool(false)
1375bool(false)
1376bool(false)
1377bool(false)
1378bool(false)
1379bool(false)
1380int(0)
1381int(1)
1382int(2)
1383int(4)
1384int(4)
1385int(0)
1386
1387-- Iteration 6 --
1388int(0)
1389int(0)
1390int(0)
1391int(0)
1392int(0)
1393int(0)
1394int(0)
1395int(0)
1396int(0)
1397int(0)
1398int(0)
1399int(0)
1400int(0)
1401int(0)
1402int(0)
1403int(0)
1404int(0)
1405int(0)
1406int(0)
1407int(0)
1408int(0)
1409int(0)
1410int(0)
1411int(0)
1412bool(false)
1413bool(false)
1414bool(false)
1415bool(false)
1416bool(false)
1417bool(false)
1418int(0)
1419int(0)
1420int(0)
1421int(0)
1422int(0)
1423int(0)
1424int(0)
1425int(0)
1426int(0)
1427int(0)
1428int(0)
1429int(0)
1430int(0)
1431int(0)
1432int(0)
1433int(0)
1434int(0)
1435int(0)
1436int(0)
1437int(0)
1438int(0)
1439int(0)
1440int(0)
1441int(0)
1442int(0)
1443int(0)
1444int(0)
1445int(0)
1446int(0)
1447int(0)
1448bool(false)
1449bool(false)
1450bool(false)
1451bool(false)
1452bool(false)
1453bool(false)
1454int(0)
1455int(0)
1456int(0)
1457int(0)
1458int(0)
1459int(0)
1460int(0)
1461int(1)
1462int(2)
1463int(4)
1464int(4)
1465int(0)
1466int(0)
1467int(1)
1468int(2)
1469int(3)
1470int(3)
1471int(0)
1472int(0)
1473int(1)
1474int(2)
1475int(2)
1476int(2)
1477int(0)
1478int(0)
1479int(0)
1480int(0)
1481int(0)
1482int(0)
1483int(0)
1484bool(false)
1485bool(false)
1486bool(false)
1487bool(false)
1488bool(false)
1489bool(false)
1490int(0)
1491int(1)
1492int(2)
1493int(4)
1494int(4)
1495int(0)
1496int(0)
1497int(0)
1498int(0)
1499int(0)
1500int(0)
1501int(0)
1502int(0)
1503int(0)
1504int(0)
1505int(0)
1506int(0)
1507int(0)
1508int(0)
1509int(0)
1510int(0)
1511int(0)
1512int(0)
1513int(0)
1514int(0)
1515int(0)
1516int(0)
1517int(0)
1518int(0)
1519int(0)
1520bool(false)
1521bool(false)
1522bool(false)
1523bool(false)
1524bool(false)
1525bool(false)
1526int(0)
1527int(0)
1528int(0)
1529int(0)
1530int(0)
1531int(0)
1532int(0)
1533int(1)
1534int(2)
1535int(2)
1536int(2)
1537int(0)
1538int(0)
1539int(1)
1540int(1)
1541int(1)
1542int(1)
1543int(0)
1544int(0)
1545int(0)
1546int(0)
1547int(0)
1548int(0)
1549int(0)
1550int(0)
1551int(0)
1552int(0)
1553int(0)
1554int(0)
1555int(0)
1556bool(false)
1557bool(false)
1558bool(false)
1559bool(false)
1560bool(false)
1561bool(false)
1562int(0)
1563int(1)
1564int(2)
1565int(2)
1566int(2)
1567int(0)
1568int(0)
1569int(1)
1570int(2)
1571int(4)
1572int(4)
1573int(0)
1574int(0)
1575int(1)
1576int(2)
1577int(3)
1578int(3)
1579int(0)
1580int(0)
1581int(1)
1582int(2)
1583int(2)
1584int(2)
1585int(0)
1586int(0)
1587int(0)
1588int(0)
1589int(0)
1590int(0)
1591int(0)
1592bool(false)
1593bool(false)
1594bool(false)
1595bool(false)
1596bool(false)
1597bool(false)
1598int(0)
1599int(1)
1600int(2)
1601int(4)
1602int(4)
1603int(0)
1604int(0)
1605int(1)
1606int(2)
1607int(4)
1608int(4)
1609int(0)
1610int(0)
1611int(1)
1612int(2)
1613int(3)
1614int(3)
1615int(0)
1616int(0)
1617int(1)
1618int(2)
1619int(2)
1620int(2)
1621int(0)
1622int(0)
1623int(0)
1624int(0)
1625int(0)
1626int(0)
1627int(0)
1628bool(false)
1629bool(false)
1630bool(false)
1631bool(false)
1632bool(false)
1633bool(false)
1634int(0)
1635int(1)
1636int(2)
1637int(4)
1638int(4)
1639int(0)
1640
1641-- Iteration 7 --
1642int(0)
1643int(0)
1644int(0)
1645int(0)
1646int(0)
1647int(0)
1648int(0)
1649int(0)
1650int(0)
1651int(0)
1652int(0)
1653int(0)
1654int(0)
1655int(0)
1656int(0)
1657int(0)
1658int(0)
1659int(0)
1660int(0)
1661int(0)
1662int(0)
1663int(0)
1664int(0)
1665int(0)
1666bool(false)
1667bool(false)
1668bool(false)
1669bool(false)
1670bool(false)
1671bool(false)
1672int(0)
1673int(0)
1674int(0)
1675int(0)
1676int(0)
1677int(0)
1678int(0)
1679int(0)
1680int(0)
1681int(0)
1682int(0)
1683int(0)
1684int(0)
1685int(0)
1686int(0)
1687int(0)
1688int(0)
1689int(0)
1690int(0)
1691int(0)
1692int(0)
1693int(0)
1694int(0)
1695int(0)
1696int(0)
1697int(0)
1698int(0)
1699int(0)
1700int(0)
1701int(0)
1702bool(false)
1703bool(false)
1704bool(false)
1705bool(false)
1706bool(false)
1707bool(false)
1708int(0)
1709int(0)
1710int(0)
1711int(0)
1712int(0)
1713int(0)
1714int(0)
1715int(1)
1716int(2)
1717int(4)
1718int(4)
1719int(0)
1720int(0)
1721int(1)
1722int(2)
1723int(3)
1724int(3)
1725int(0)
1726int(0)
1727int(1)
1728int(2)
1729int(2)
1730int(2)
1731int(0)
1732int(0)
1733int(0)
1734int(0)
1735int(0)
1736int(0)
1737int(0)
1738bool(false)
1739bool(false)
1740bool(false)
1741bool(false)
1742bool(false)
1743bool(false)
1744int(0)
1745int(1)
1746int(2)
1747int(4)
1748int(4)
1749int(0)
1750int(0)
1751int(0)
1752int(0)
1753int(0)
1754int(0)
1755int(0)
1756int(0)
1757int(0)
1758int(0)
1759int(0)
1760int(0)
1761int(0)
1762int(0)
1763int(0)
1764int(0)
1765int(0)
1766int(0)
1767int(0)
1768int(0)
1769int(0)
1770int(0)
1771int(0)
1772int(0)
1773int(0)
1774bool(false)
1775bool(false)
1776bool(false)
1777bool(false)
1778bool(false)
1779bool(false)
1780int(0)
1781int(0)
1782int(0)
1783int(0)
1784int(0)
1785int(0)
1786int(0)
1787int(1)
1788int(2)
1789int(2)
1790int(2)
1791int(0)
1792int(0)
1793int(1)
1794int(1)
1795int(1)
1796int(1)
1797int(0)
1798int(0)
1799int(0)
1800int(0)
1801int(0)
1802int(0)
1803int(0)
1804int(0)
1805int(0)
1806int(0)
1807int(0)
1808int(0)
1809int(0)
1810bool(false)
1811bool(false)
1812bool(false)
1813bool(false)
1814bool(false)
1815bool(false)
1816int(0)
1817int(1)
1818int(2)
1819int(2)
1820int(2)
1821int(0)
1822int(0)
1823int(1)
1824int(2)
1825int(4)
1826int(4)
1827int(0)
1828int(0)
1829int(1)
1830int(2)
1831int(3)
1832int(3)
1833int(0)
1834int(0)
1835int(1)
1836int(2)
1837int(2)
1838int(2)
1839int(0)
1840int(0)
1841int(0)
1842int(0)
1843int(0)
1844int(0)
1845int(0)
1846bool(false)
1847bool(false)
1848bool(false)
1849bool(false)
1850bool(false)
1851bool(false)
1852int(0)
1853int(1)
1854int(2)
1855int(4)
1856int(4)
1857int(0)
1858int(0)
1859int(1)
1860int(2)
1861int(4)
1862int(4)
1863int(0)
1864int(0)
1865int(1)
1866int(2)
1867int(3)
1868int(3)
1869int(0)
1870int(0)
1871int(1)
1872int(2)
1873int(2)
1874int(2)
1875int(0)
1876int(0)
1877int(0)
1878int(0)
1879int(0)
1880int(0)
1881int(0)
1882bool(false)
1883bool(false)
1884bool(false)
1885bool(false)
1886bool(false)
1887bool(false)
1888int(0)
1889int(1)
1890int(2)
1891int(4)
1892int(4)
1893int(0)
1894Done
1895