summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/strrchr_variation1.phpt
blob: 91290ecf93f54a7ae65ceb40745361d1a77b6877 (plain)
ofshex dumpascii
0000 2d 2d 54 45 53 54 2d 2d 0a 54 65 73 74 20 73 74 72 72 63 68 72 28 29 20 66 75 6e 63 74 69 6f 6e --TEST--.Test.strrchr().function
0020 20 3a 20 75 73 61 67 65 20 76 61 72 69 61 74 69 6f 6e 73 20 2d 20 64 6f 75 62 6c 65 20 71 75 6f .:.usage.variations.-.double.quo
0040 74 65 64 20 73 74 72 69 6e 67 73 0a 2d 2d 46 49 4c 45 2d 2d 0a 3c 3f 70 68 70 0a 2f 2a 20 50 72 ted.strings.--FILE--.<?php./*.Pr
0060 6f 74 6f 74 79 70 65 20 20 3a 20 73 74 72 69 6e 67 20 73 74 72 72 63 68 72 28 73 74 72 69 6e 67 ototype..:.string.strrchr(string
0080 20 24 68 61 79 73 74 61 63 6b 2c 20 73 74 72 69 6e 67 20 24 6e 65 65 64 6c 65 29 3b 0a 20 2a 20 .$haystack,.string.$needle);..*.
00a0 44 65 73 63 72 69 70 74 69 6f 6e 3a 20 46 69 6e 64 73 20 74 68 65 20 6c 61 73 74 20 6f 63 63 75 Description:.Finds.the.last.occu
00c0 72 72 65 6e 63 65 20 6f 66 20 61 20 63 68 61 72 61 63 74 65 72 20 69 6e 20 61 20 73 74 72 69 6e rrence.of.a.character.in.a.strin
00e0 67 2e 0a 20 2a 20 53 6f 75 72 63 65 20 63 6f 64 65 3a 20 65 78 74 2f 73 74 61 6e 64 61 72 64 2f g...*.Source.code:.ext/standard/
0100 73 74 72 69 6e 67 2e 63 0a 2a 2f 0a 0a 2f 2a 20 54 65 73 74 20 73 74 72 72 63 68 72 28 29 20 66 string.c.*/../*.Test.strrchr().f
0120 75 6e 63 74 69 6f 6e 20 62 79 20 70 61 73 73 69 6e 67 20 76 61 72 69 6f 75 73 20 64 6f 75 62 6c unction.by.passing.various.doubl
0140 65 20 71 75 6f 74 65 64 20 73 74 72 69 6e 67 73 20 66 6f 72 20 27 68 61 79 73 74 61 63 6b 27 20 e.quoted.strings.for.'haystack'.
0160 26 20 27 6e 65 65 64 6c 65 27 20 2a 2f 0a 0a 65 63 68 6f 20 22 2a 2a 2a 20 54 65 73 74 69 6e 67 &.'needle'.*/..echo."***.Testing
0180 20 73 74 72 72 63 68 72 28 29 20 66 75 6e 63 74 69 6f 6e 3a 20 77 69 74 68 20 76 61 72 69 6f 75 .strrchr().function:.with.variou
01a0 73 20 64 6f 75 62 6c 65 20 71 75 6f 74 65 64 20 73 74 72 69 6e 67 73 20 2a 2a 2a 22 3b 0a 24 68 s.double.quoted.strings.***";.$h
01c0 61 79 73 74 61 63 6b 20 3d 20 22 48 65 6c 6c 6f 2c 5c 74 5c 6e 5c 30 5c 6e 20 20 24 26 21 23 25 aystack.=."Hello,\t\n\0\n..$&!#%
01e0 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 5c \o,()*+-./:;<=>?@hello123456he.\
0200 78 32 33 34 20 5c 31 30 31 20 22 3b 0a 24 6e 65 65 64 6c 65 20 3d 20 61 72 72 61 79 28 0a 20 20 x234.\101.";.$needle.=.array(...
0220 2f 2f 72 65 67 75 6c 61 72 20 73 74 72 69 6e 67 73 0a 20 20 22 6c 22 2c 0a 20 20 22 4c 22 2c 0a //regular.strings..."l",..."L",.
0240 20 20 22 48 45 4c 4c 4f 22 2c 20 0a 20 20 22 68 45 6c 6c 6f 22 2c 0a 0a 20 20 2f 2f 65 73 63 61 .."HELLO",...."hEllo",....//esca
0260 70 65 20 63 68 61 72 61 63 74 65 72 73 0a 20 20 22 5c 74 22 2c 0a 20 20 22 5c 54 22 2c 0a 20 20 pe.characters..."\t",..."\T",...
0280 22 09 22 2c 0a 20 20 22 5c 6e 22 2c 0a 20 20 22 5c 4e 22 2c 0a 20 20 22 0a 22 2c 20 20 2f 2f 6e ".",..."\n",..."\N",...".",..//n
02a0 65 77 20 6c 69 6e 65 0a 0a 20 20 2f 2f 6e 75 6c 6c 73 0a 20 20 22 5c 30 22 2c 0a 20 20 4e 55 4c ew.line....//nulls..."\0",...NUL
02c0 4c 2c 0a 20 20 6e 75 6c 6c 2c 0a 20 20 0a 20 20 2f 2f 62 6f 6f 6c 65 61 6e 20 66 61 6c 73 65 0a L,...null,......//boolean.false.
02e0 20 20 46 41 4c 53 45 2c 0a 20 20 66 61 6c 73 65 2c 0a 0a 20 20 2f 2f 65 6d 70 74 79 20 73 74 72 ..FALSE,...false,....//empty.str
0300 69 6e 67 0a 20 20 22 22 2c 20 20 0a 0a 20 20 2f 2f 73 70 65 63 69 61 6c 20 63 68 61 72 73 0a 20 ing..."",......//special.chars..
0320 20 22 20 22 2c 0a 20 20 22 24 22 2c 0a 20 20 22 20 24 22 2c 0a 20 20 22 26 22 2c 0a 20 20 22 21 .".",..."$",...".$",..."&",..."!
0340 23 22 2c 0a 20 20 22 25 5c 6f 22 2c 0a 20 20 22 5c 6f 2c 22 2c 0a 20 20 22 28 29 22 2c 0a 20 20 #",..."%\o",..."\o,",..."()",...
0360 22 2a 2b 22 2c 0a 20 20 22 2b 22 2c 0a 20 20 22 2d 22 2c 0a 20 20 22 2e 22 2c 0a 20 20 22 2e 3b "*+",..."+",..."-",...".",...".;
0380 22 2c 0a 20 20 22 3a 3b 22 2c 0a 20 20 22 3b 22 2c 0a 20 20 22 3c 3d 3e 22 2c 0a 20 20 22 3e 22 ",...":;",...";",..."<=>",...">"
03a0 2c 0a 20 20 22 3d 3e 22 2c 0a 20 20 22 3f 22 2c 0a 20 20 22 40 22 2c 20 0a 20 20 22 40 68 45 6c ,..."=>",..."?",..."@",...."@hEl
03c0 6c 6f 22 2c 20 0a 0a 20 20 22 31 32 33 34 35 22 2c 20 2f 2f 64 65 63 69 6d 61 6c 20 6e 75 6d 65 lo",....."12345",.//decimal.nume
03e0 72 69 63 20 73 74 72 69 6e 67 0a 20 20 22 5c 78 32 33 22 2c 20 20 2f 2f 68 65 78 61 64 65 63 69 ric.string..."\x23",..//hexadeci
0400 6d 61 6c 20 6e 75 6d 65 72 69 63 20 73 74 72 69 6e 67 0a 20 20 22 23 22 2c 20 20 2f 2f 72 65 73 mal.numeric.string..."#",..//res
0420 70 65 63 74 69 76 65 20 41 53 43 49 49 20 63 68 61 72 20 6f 66 20 5c 78 32 33 0a 20 20 22 5c 31 pective.ASCII.char.of.\x23..."\1
0440 30 31 22 2c 20 20 2f 2f 6f 63 74 61 6c 20 6e 75 6d 65 72 69 63 20 73 74 72 69 6e 67 0a 20 20 22 01",..//octal.numeric.string..."
0460 41 22 2c 20 20 2f 2f 72 65 73 70 65 63 74 69 76 65 20 41 53 43 49 49 20 63 68 61 72 20 6f 66 20 A",..//respective.ASCII.char.of.
0480 5c 31 30 31 0a 20 20 22 34 35 36 48 45 45 22 2c 20 20 2f 2f 6e 75 6d 65 72 69 63 73 20 2b 20 63 \101..."456HEE",..//numerics.+.c
04a0 68 61 72 73 0a 20 20 34 32 2c 20 2f 2f 6e 65 65 64 6c 65 20 61 73 20 69 6e 74 28 41 53 43 49 49 hars...42,.//needle.as.int(ASCII
04c0 20 76 61 6c 75 65 20 6f 66 20 22 2a 22 29 0a 20 20 24 68 61 79 73 74 61 63 6b 20 20 2f 2f 68 61 .value.of."*")...$haystack..//ha
04e0 79 73 74 61 63 6b 20 61 73 20 6e 65 65 64 6c 65 0a 29 3b 0a 0a 2f 2a 20 6c 6f 6f 70 20 74 68 72 ystack.as.needle.);../*.loop.thr
0500 6f 75 67 68 20 74 6f 20 67 65 74 20 74 68 65 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 ough.to.get.the.position.of.the.
0520 6e 65 65 64 6c 65 20 69 6e 20 68 61 79 73 74 61 63 6b 20 73 74 72 69 6e 67 20 2a 2f 0a 24 63 6f needle.in.haystack.string.*/.$co
0540 75 6e 74 20 3d 20 31 3b 0a 66 6f 72 28 24 69 6e 64 65 78 3d 30 3b 20 24 69 6e 64 65 78 3c 63 6f unt.=.1;.for($index=0;.$index<co
0560 75 6e 74 28 24 6e 65 65 64 6c 65 29 3b 20 24 69 6e 64 65 78 2b 2b 29 20 7b 0a 20 20 65 63 68 6f unt($needle);.$index++).{...echo
0580 20 22 5c 6e 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 24 63 6f 75 6e 74 20 2d 2d 5c 6e 22 3b 0a 20 ."\n--.Iteration.$count.--\n";..
05a0 20 76 61 72 5f 64 75 6d 70 28 20 73 74 72 72 63 68 72 28 24 68 61 79 73 74 61 63 6b 2c 20 24 6e .var_dump(.strrchr($haystack,.$n
05c0 65 65 64 6c 65 5b 24 69 6e 64 65 78 5d 29 20 29 3b 0a 20 20 24 63 6f 75 6e 74 2b 2b 3b 0a 7d 0a eedle[$index]).);...$count++;.}.
05e0 65 63 68 6f 20 22 2a 2a 2a 20 44 6f 6e 65 20 2a 2a 2a 22 3b 0a 3f 3e 0a 2d 2d 45 58 50 45 43 54 echo."***.Done.***";.?>.--EXPECT
0600 46 2d 2d 0a 2a 2a 2a 20 54 65 73 74 69 6e 67 20 73 74 72 72 63 68 72 28 29 20 66 75 6e 63 74 69 F--.***.Testing.strrchr().functi
0620 6f 6e 3a 20 77 69 74 68 20 76 61 72 69 6f 75 73 20 64 6f 75 62 6c 65 20 71 75 6f 74 65 64 20 73 on:.with.various.double.quoted.s
0640 74 72 69 6e 67 73 20 2a 2a 2a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 31 20 2d 2d 0a 73 74 72 trings.***.--.Iteration.1.--.str
0660 69 6e 67 28 31 36 29 20 22 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 ing(16)."lo123456he.#4.A."..--.I
0680 74 65 72 61 74 69 6f 6e 20 32 20 2d 2d 0a 62 6f 6f 6c 28 66 61 6c 73 65 29 0a 0a 2d 2d 20 49 74 teration.2.--.bool(false)..--.It
06a0 65 72 61 74 69 6f 6e 20 33 20 2d 2d 0a 73 74 72 69 6e 67 28 35 33 29 20 22 48 65 6c 6c 6f 2c 09 eration.3.--.string(53)."Hello,.
06c0 0a 00 0a 20 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f .....$&!#%\o,()*+-./:;<=>?@hello
06e0 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 34 20 123456he.#4.A."..--.Iteration.4.
0700 2d 2d 0a 73 74 72 69 6e 67 28 38 29 20 22 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 --.string(8)."he.#4.A."..--.Iter
0720 61 74 69 6f 6e 20 35 20 2d 2d 0a 73 74 72 69 6e 67 28 34 37 29 20 22 09 0a 00 0a 20 20 24 26 21 ation.5.--.string(47)."......$&!
0740 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 #%\o,()*+-./:;<=>?@hello123456he
0760 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 36 20 2d 2d 0a 73 74 72 69 6e .#4.A."..--.Iteration.6.--.strin
0780 67 28 33 36 29 20 22 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 g(36)."\o,()*+-./:;<=>?@hello123
07a0 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 37 20 2d 2d 0a 456he.#4.A."..--.Iteration.7.--.
07c0 73 74 72 69 6e 67 28 34 37 29 20 22 09 0a 00 0a 20 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e string(47)."......$&!#%\o,()*+-.
07e0 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d /:;<=>?@hello123456he.#4.A."..--
0800 20 49 74 65 72 61 74 69 6f 6e 20 38 20 2d 2d 0a 73 74 72 69 6e 67 28 34 34 29 20 22 0a 20 20 24 .Iteration.8.--.string(44)."...$
0820 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 &!#%\o,()*+-./:;<=>?@hello123456
0840 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 39 20 2d 2d 0a 73 74 72 he.#4.A."..--.Iteration.9.--.str
0860 69 6e 67 28 33 36 29 20 22 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 ing(36)."\o,()*+-./:;<=>?@hello1
0880 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 31 30 20 23456he.#4.A."..--.Iteration.10.
08a0 2d 2d 0a 73 74 72 69 6e 67 28 34 34 29 20 22 0a 20 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e --.string(44)."...$&!#%\o,()*+-.
08c0 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d /:;<=>?@hello123456he.#4.A."..--
08e0 20 49 74 65 72 61 74 69 6f 6e 20 31 31 20 2d 2d 0a 73 74 72 69 6e 67 28 34 35 29 20 22 00 0a 20 .Iteration.11.--.string(45)."...
0900 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 .$&!#%\o,()*+-./:;<=>?@hello1234
0920 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 31 32 20 2d 2d 0a 56he.#4.A."..--.Iteration.12.--.
0940 73 74 72 69 6e 67 28 34 35 29 20 22 00 0a 20 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a string(45)."....$&!#%\o,()*+-./:
0960 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 ;<=>?@hello123456he.#4.A."..--.I
0980 74 65 72 61 74 69 6f 6e 20 31 33 20 2d 2d 0a 73 74 72 69 6e 67 28 34 35 29 20 22 00 0a 20 20 24 teration.13.--.string(45)."....$
09a0 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 &!#%\o,()*+-./:;<=>?@hello123456
09c0 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 31 34 20 2d 2d 0a 73 74 he.#4.A."..--.Iteration.14.--.st
09e0 72 69 6e 67 28 34 35 29 20 22 00 0a 20 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c ring(45)."....$&!#%\o,()*+-./:;<
0a00 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 =>?@hello123456he.#4.A."..--.Ite
0a20 72 61 74 69 6f 6e 20 31 35 20 2d 2d 0a 73 74 72 69 6e 67 28 34 35 29 20 22 00 0a 20 20 24 26 21 ration.15.--.string(45)."....$&!
0a40 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 #%\o,()*+-./:;<=>?@hello123456he
0a60 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 31 36 20 2d 2d 0a 73 74 72 69 .#4.A."..--.Iteration.16.--.stri
0a80 6e 67 28 34 35 29 20 22 00 0a 20 20 24 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e ng(45)."....$&!#%\o,()*+-./:;<=>
0aa0 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 ?@hello123456he.#4.A."..--.Itera
0ac0 74 69 6f 6e 20 31 37 20 2d 2d 0a 73 74 72 69 6e 67 28 31 29 20 22 20 22 0a 0a 2d 2d 20 49 74 65 tion.17.--.string(1)."."..--.Ite
0ae0 72 61 74 69 6f 6e 20 31 38 20 2d 2d 0a 73 74 72 69 6e 67 28 34 31 29 20 22 24 26 21 23 25 5c 6f ration.18.--.string(41)."$&!#%\o
0b00 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 ,()*+-./:;<=>?@hello123456he.#4.
0b20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 31 39 20 2d 2d 0a 73 74 72 69 6e 67 28 31 A."..--.Iteration.19.--.string(1
0b40 29 20 22 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 30 20 2d 2d 0a 73 74 72 69 6e 67 )."."..--.Iteration.20.--.string
0b60 28 34 30 29 20 22 26 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f (40)."&!#%\o,()*+-./:;<=>?@hello
0b80 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 31 123456he.#4.A."..--.Iteration.21
0ba0 20 2d 2d 0a 73 74 72 69 6e 67 28 33 39 29 20 22 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c .--.string(39)."!#%\o,()*+-./:;<
0bc0 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 =>?@hello123456he.#4.A."..--.Ite
0be0 72 61 74 69 6f 6e 20 32 32 20 2d 2d 0a 73 74 72 69 6e 67 28 33 37 29 20 22 25 5c 6f 2c 28 29 2a ration.22.--.string(37)."%\o,()*
0c00 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a +-./:;<=>?@hello123456he.#4.A.".
0c20 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 33 20 2d 2d 0a 73 74 72 69 6e 67 28 33 36 29 20 22 .--.Iteration.23.--.string(36)."
0c40 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 \o,()*+-./:;<=>?@hello123456he.#
0c60 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 34 20 2d 2d 0a 73 74 72 69 6e 67 4.A."..--.Iteration.24.--.string
0c80 28 33 33 29 20 22 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 (33)."()*+-./:;<=>?@hello123456h
0ca0 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 35 20 2d 2d 0a 73 74 72 e.#4.A."..--.Iteration.25.--.str
0cc0 69 6e 67 28 33 31 29 20 22 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 ing(31)."*+-./:;<=>?@hello123456
0ce0 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 36 20 2d 2d 0a 73 74 he.#4.A."..--.Iteration.26.--.st
0d00 72 69 6e 67 28 33 30 29 20 22 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 ring(30)."+-./:;<=>?@hello123456
0d20 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 37 20 2d 2d 0a 73 74 he.#4.A."..--.Iteration.27.--.st
0d40 72 69 6e 67 28 32 39 29 20 22 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 ring(29)."-./:;<=>?@hello123456h
0d60 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 38 20 2d 2d 0a 73 74 72 e.#4.A."..--.Iteration.28.--.str
0d80 69 6e 67 28 32 38 29 20 22 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 ing(28)."./:;<=>?@hello123456he.
0da0 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 32 39 20 2d 2d 0a 73 74 72 69 6e #4.A."..--.Iteration.29.--.strin
0dc0 67 28 32 38 29 20 22 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 g(28)."./:;<=>?@hello123456he.#4
0de0 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 33 30 20 2d 2d 0a 73 74 72 69 6e 67 28 .A."..--.Iteration.30.--.string(
0e00 32 36 29 20 22 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 26).":;<=>?@hello123456he.#4.A."
0e20 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 33 31 20 2d 2d 0a 73 74 72 69 6e 67 28 32 35 29 20 ..--.Iteration.31.--.string(25).
0e40 22 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 ";<=>?@hello123456he.#4.A."..--.
0e60 49 74 65 72 61 74 69 6f 6e 20 33 32 20 2d 2d 0a 73 74 72 69 6e 67 28 32 34 29 20 22 3c 3d 3e 3f Iteration.32.--.string(24)."<=>?
0e80 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 @hello123456he.#4.A."..--.Iterat
0ea0 69 6f 6e 20 33 33 20 2d 2d 0a 73 74 72 69 6e 67 28 32 32 29 20 22 3e 3f 40 68 65 6c 6c 6f 31 32 ion.33.--.string(22).">?@hello12
0ec0 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 33 34 20 2d 3456he.#4.A."..--.Iteration.34.-
0ee0 2d 0a 73 74 72 69 6e 67 28 32 33 29 20 22 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 -.string(23)."=>?@hello123456he.
0f00 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 33 35 20 2d 2d 0a 73 74 72 69 6e #4.A."..--.Iteration.35.--.strin
0f20 67 28 32 31 29 20 22 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d g(21)."?@hello123456he.#4.A."..-
0f40 2d 20 49 74 65 72 61 74 69 6f 6e 20 33 36 20 2d 2d 0a 73 74 72 69 6e 67 28 32 30 29 20 22 40 68 -.Iteration.36.--.string(20)."@h
0f60 65 6c 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f ello123456he.#4.A."..--.Iteratio
0f80 6e 20 33 37 20 2d 2d 0a 73 74 72 69 6e 67 28 32 30 29 20 22 40 68 65 6c 6c 6f 31 32 33 34 35 36 n.37.--.string(20)."@hello123456
0fa0 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 33 38 20 2d 2d 0a 73 74 he.#4.A."..--.Iteration.38.--.st
0fc0 72 69 6e 67 28 31 34 29 20 22 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 ring(14)."123456he.#4.A."..--.It
0fe0 65 72 61 74 69 6f 6e 20 33 39 20 2d 2d 0a 73 74 72 69 6e 67 28 35 29 20 22 23 34 20 41 20 22 0a eration.39.--.string(5)."#4.A.".
1000 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 34 30 20 2d 2d 0a 73 74 72 69 6e 67 28 35 29 20 22 23 .--.Iteration.40.--.string(5)."#
1020 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 34 31 20 2d 2d 0a 73 74 72 69 6e 67 4.A."..--.Iteration.41.--.string
1040 28 32 29 20 22 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 34 32 20 2d 2d 0a 73 74 72 (2)."A."..--.Iteration.42.--.str
1060 69 6e 67 28 32 29 20 22 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 34 33 20 2d 2d 0a ing(2)."A."..--.Iteration.43.--.
1080 73 74 72 69 6e 67 28 34 29 20 22 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 34 string(4)."4.A."..--.Iteration.4
10a0 34 20 2d 2d 0a 73 74 72 69 6e 67 28 33 31 29 20 22 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 4.--.string(31)."*+-./:;<=>?@hel
10c0 6c 6f 31 32 33 34 35 36 68 65 20 23 34 20 41 20 22 0a 0a 2d 2d 20 49 74 65 72 61 74 69 6f 6e 20 lo123456he.#4.A."..--.Iteration.
10e0 34 35 20 2d 2d 0a 73 74 72 69 6e 67 28 35 33 29 20 22 48 65 6c 6c 6f 2c 09 0a 00 0a 20 20 24 26 45.--.string(53)."Hello,......$&
1100 21 23 25 5c 6f 2c 28 29 2a 2b 2d 2e 2f 3a 3b 3c 3d 3e 3f 40 68 65 6c 6c 6f 31 32 33 34 35 36 68 !#%\o,()*+-./:;<=>?@hello123456h
1120 65 20 23 34 20 41 20 22 0a 2a 2a 2a 20 44 6f 6e 65 20 2a 2a 2a 0a e.#4.A.".***.Done.***.