summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/str_repeat.phpt
blob: 306b7d381af16e3e61a4f36f2e0fac75ad8bcd0b (plain)
ofshex dumpascii
0000 2d 2d 54 45 53 54 2d 2d 0a 54 65 73 74 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 66 75 6e 63 74 --TEST--.Test.str_repeat().funct
0020 69 6f 6e 0a 2d 2d 49 4e 49 2d 2d 0a 70 72 65 63 69 73 69 6f 6e 3d 31 34 0a 2d 2d 46 49 4c 45 2d ion.--INI--.precision=14.--FILE-
0040 2d 0a 3c 3f 70 68 70 0a 2f 2a 20 50 72 6f 74 6f 74 79 70 65 3a 20 73 74 72 69 6e 67 20 73 74 72 -.<?php./*.Prototype:.string.str
0060 5f 72 65 70 65 61 74 20 28 20 73 74 72 69 6e 67 20 24 69 6e 70 75 74 2c 20 69 6e 74 20 24 6d 75 _repeat.(.string.$input,.int.$mu
0080 6c 74 69 70 6c 69 65 72 20 29 3b 0a 20 20 20 44 65 73 63 72 69 70 74 69 6f 6e 3a 20 52 65 74 75 ltiplier.);....Description:.Retu
00a0 72 6e 73 20 69 6e 70 75 74 20 72 65 70 65 61 74 65 64 20 6d 75 6c 74 69 70 6c 69 65 72 20 74 69 rns.input.repeated.multiplier.ti
00c0 6d 65 73 2e 20 6d 75 6c 74 69 70 6c 69 65 72 20 68 61 73 20 74 6f 20 62 65 0a 20 20 20 20 20 67 mes..multiplier.has.to.be......g
00e0 72 65 61 74 65 72 20 74 68 61 6e 20 6f 72 20 65 71 75 61 6c 20 74 6f 20 30 2e 20 49 66 20 74 68 reater.than.or.equal.to.0..If.th
0100 65 20 6d 75 6c 74 69 70 6c 69 65 72 20 69 73 20 73 65 74 20 74 6f 20 30 2c 20 74 68 65 20 66 75 e.multiplier.is.set.to.0,.the.fu
0120 6e 63 74 69 6f 6e 0a 20 20 20 20 20 77 69 6c 6c 20 72 65 74 75 72 6e 20 61 6e 20 65 6d 70 74 79 nction......will.return.an.empty
0140 20 73 74 72 69 6e 67 2e 0a 2a 2f 0a 0a 65 63 68 6f 20 22 2a 2a 2a 20 54 65 73 74 69 6e 67 20 73 .string..*/..echo."***.Testing.s
0160 74 72 5f 72 65 70 65 61 74 28 29 20 77 69 74 68 20 70 6f 73 73 69 62 6c 65 20 73 74 72 69 6e 67 tr_repeat().with.possible.string
0180 73 20 2a 2a 2a 22 3b 0a 24 76 61 72 69 61 74 69 6f 6e 73 20 3d 20 61 72 72 61 79 28 0a 20 20 27 s.***";.$variations.=.array(...'
01a0 61 27 2c 0a 20 20 27 66 6f 6f 27 2c 0a 20 20 27 62 61 72 62 61 7a 62 61 78 27 2c 0a 20 20 22 5c a',...'foo',...'barbazbax',..."\
01c0 78 30 30 22 2c 0a 20 20 27 5c 30 27 2c 0a 20 20 4e 55 4c 4c 2c 0a 20 20 54 52 55 45 2c 0a 20 20 x00",...'\0',...NULL,...TRUE,...
01e0 34 2c 0a 20 20 31 2e 32 33 2c 0a 20 20 22 22 2c 0a 20 20 22 20 22 0a 29 3b 0a 0a 2f 2a 20 76 61 4,...1.23,..."",...".".);../*.va
0200 72 69 61 74 69 6f 6e 73 20 69 6e 20 73 74 72 69 6e 67 20 61 6e 64 20 6d 75 6c 74 69 70 6c 69 65 riations.in.string.and.multiplie
0220 72 20 61 73 20 61 6e 20 69 6e 74 20 2a 2f 0a 66 6f 72 65 61 63 68 28 24 76 61 72 69 61 74 69 6f r.as.an.int.*/.foreach($variatio
0240 6e 73 20 61 73 20 24 69 6e 70 75 74 29 20 7b 0a 20 20 65 63 68 6f 20 22 5c 6e 2d 2d 2d 20 73 74 ns.as.$input).{...echo."\n---.st
0260 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 24 69 6e 70 75 74 27 20 2d 2d 2d 5c 6e 22 20 3b 0a r_repeat().of.'$input'.---\n".;.
0280 20 20 66 6f 72 28 24 6e 3d 30 3b 20 24 6e 3c 34 3b 20 24 6e 2b 2b 29 20 7b 0a 20 20 20 20 65 63 ..for($n=0;.$n<4;.$n++).{.....ec
02a0 68 6f 20 22 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 24 6e 20 74 69 6d 65 73 20 ho."--.after.repeating.$n.times.
02c0 69 73 20 3d 3e 20 22 3b 0a 20 20 20 20 65 63 68 6f 20 73 74 72 5f 72 65 70 65 61 74 28 24 69 6e is.=>.";.....echo.str_repeat($in
02e0 70 75 74 2c 20 24 6e 29 2e 22 5c 6e 22 3b 0a 20 20 7d 0a 7d 0a 0a 2f 2a 20 76 61 72 69 61 74 69 put,.$n)."\n";...}.}../*.variati
0300 6f 6e 73 20 69 6e 20 6d 75 6c 74 69 70 6c 69 65 72 20 61 73 20 77 65 6c 6c 20 61 73 20 73 74 72 ons.in.multiplier.as.well.as.str
0320 69 6e 67 20 74 6f 20 62 65 20 72 65 70 65 61 74 65 64 2e 20 53 61 6d 65 20 76 61 72 69 61 6e 74 ing.to.be.repeated..Same.variant
0340 0a 20 20 20 76 61 6c 75 65 73 20 61 72 65 20 75 73 65 64 20 61 73 20 73 74 72 69 6e 67 20 74 6f ....values.are.used.as.string.to
0360 20 62 65 20 72 65 70 65 61 74 65 64 20 61 73 20 77 65 6c 6c 20 61 73 20 6d 75 6c 74 69 70 6c 69 .be.repeated.as.well.as.multipli
0380 65 72 20 2a 2f 0a 65 63 68 6f 20 22 5c 6e 5c 6e 2a 2a 2a 20 54 65 73 74 69 6e 67 20 73 74 72 5f er.*/.echo."\n\n***.Testing.str_
03a0 72 65 70 65 61 74 28 29 20 77 69 74 68 20 76 61 72 69 6f 75 73 20 73 74 72 69 6e 67 73 20 26 20 repeat().with.various.strings.&.
03c0 6d 75 6c 74 69 70 6c 69 65 72 20 76 61 6c 75 65 20 2a 2a 2a 22 3b 0a 66 6f 72 65 61 63 68 20 28 multiplier.value.***";.foreach.(
03e0 20 24 76 61 72 69 61 74 69 6f 6e 73 20 61 73 20 24 69 6e 70 75 74 20 29 20 7b 0a 20 20 65 63 68 .$variations.as.$input.).{...ech
0400 6f 20 22 5c 6e 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 24 69 6e 70 75 74 o."\n---.str_repeat().of.'$input
0420 27 20 2d 2d 2d 5c 6e 22 20 3b 0a 20 20 66 6f 72 65 61 63 68 20 28 20 24 76 61 72 69 61 74 69 6f '.---\n".;...foreach.(.$variatio
0440 6e 73 20 61 73 20 24 6d 75 6c 74 69 70 6c 69 65 72 20 29 20 7b 0a 20 20 20 20 65 63 68 6f 20 22 ns.as.$multiplier.).{.....echo."
0460 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 24 6d 75 6c 74 69 70 6c 69 65 72 27 --.after.repeating.'$multiplier'
0480 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 22 3b 0a 20 20 20 20 76 61 72 5f 64 75 6d 70 28 20 73 74 .times.is.=>.";.....var_dump(.st
04a0 72 5f 72 65 70 65 61 74 28 24 69 6e 70 75 74 2c 20 24 6d 75 6c 74 69 70 6c 69 65 72 29 20 29 3b r_repeat($input,.$multiplier).);
04c0 0a 20 20 7d 0a 7d 0a 0a 0a 65 63 68 6f 20 22 5c 6e 2a 2a 2a 20 54 65 73 74 69 6e 67 20 73 74 72 ...}.}...echo."\n***.Testing.str
04e0 5f 72 65 70 65 61 74 28 29 20 77 69 74 68 20 63 6f 6d 70 6c 65 78 20 73 74 72 69 6e 67 73 20 63 _repeat().with.complex.strings.c
0500 6f 6e 74 61 69 6e 69 6e 67 20 0a 20 20 20 20 20 20 20 6f 74 68 65 72 20 74 68 61 6e 20 37 2d 62 ontaining.........other.than.7-b
0520 69 74 20 63 68 61 72 73 20 2a 2a 2a 5c 6e 22 3b 0a 24 73 74 72 20 3d 20 63 68 72 28 30 29 2e 63 it.chars.***\n";.$str.=.chr(0).c
0540 68 72 28 31 32 38 29 2e 63 68 72 28 31 32 39 29 2e 63 68 72 28 32 33 34 29 2e 63 68 72 28 32 33 hr(128).chr(129).chr(234).chr(23
0560 35 29 2e 63 68 72 28 32 35 34 29 2e 63 68 72 28 32 35 35 29 3b 0a 76 61 72 5f 64 75 6d 70 28 73 5).chr(254).chr(255);.var_dump(s
0580 74 72 5f 72 65 70 65 61 74 28 24 73 74 72 2c 20 63 68 72 28 35 31 29 29 29 3b 20 20 2f 2f 20 41 tr_repeat($str,.chr(51)));..//.A
05a0 53 43 49 49 20 76 61 6c 75 65 20 6f 66 20 27 33 27 20 67 69 76 65 6e 0a 76 61 72 5f 64 75 6d 70 SCII.value.of.'3'.given.var_dump
05c0 28 73 74 72 5f 72 65 70 65 61 74 28 24 73 74 72 2c 20 33 29 29 3b 0a 0a 0a 65 63 68 6f 20 22 5c (str_repeat($str,.3));...echo."\
05e0 6e 5c 6e 2a 2a 2a 20 54 65 73 74 69 6e 67 20 65 72 72 6f 72 20 63 6f 6e 64 69 74 69 6f 6e 73 20 n\n***.Testing.error.conditions.
0600 2a 2a 2a 22 3b 0a 76 61 72 5f 64 75 6d 70 28 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 29 3b 20 ***";.var_dump(.str_repeat().);.
0620 20 2f 2f 20 5a 65 72 6f 20 61 72 67 73 0a 76 61 72 5f 64 75 6d 70 28 20 73 74 72 5f 72 65 70 65 .//.Zero.args.var_dump(.str_repe
0640 61 74 28 24 69 6e 70 75 74 5b 30 5d 29 20 29 3b 20 20 2f 2f 20 61 72 67 73 20 3c 20 65 78 70 65 at($input[0]).);..//.args.<.expe
0660 63 74 65 64 0a 76 61 72 5f 64 75 6d 70 28 20 73 74 72 5f 72 65 70 65 61 74 28 24 69 6e 70 75 74 cted.var_dump(.str_repeat($input
0680 5b 30 5d 2c 20 33 2c 20 34 29 20 29 3b 20 20 2f 2f 20 61 72 67 73 20 3e 20 65 78 70 65 63 74 65 [0],.3,.4).);..//.args.>.expecte
06a0 64 0a 76 61 72 5f 64 75 6d 70 28 20 73 74 72 5f 72 65 70 65 61 74 28 24 69 6e 70 75 74 5b 30 5d d.var_dump(.str_repeat($input[0]
06c0 2c 20 2d 31 29 20 29 3b 20 20 2f 2f 20 49 6e 76 61 6c 69 64 20 61 72 67 20 66 6f 72 20 6d 75 6c ,.-1).);..//.Invalid.arg.for.mul
06e0 74 69 70 6c 69 65 72 0a 0a 65 63 68 6f 20 22 44 6f 6e 65 5c 6e 22 3b 0a 3f 3e 0a 2d 2d 45 58 50 tiplier..echo."Done\n";.?>.--EXP
0700 45 43 54 46 2d 2d 0a 2a 2a 2a 20 54 65 73 74 69 6e 67 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 ECTF--.***.Testing.str_repeat().
0720 77 69 74 68 20 70 6f 73 73 69 62 6c 65 20 73 74 72 69 6e 67 73 20 2a 2a 2a 0a 2d 2d 2d 20 73 74 with.possible.strings.***.---.st
0740 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 61 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 r_repeat().of.'a'.---.--.after.r
0760 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 epeating.0.times.is.=>..--.after
0780 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 61 0a 2d 2d 20 61 66 .repeating.1.times.is.=>.a.--.af
07a0 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 61 61 0a 2d ter.repeating.2.times.is.=>.aa.-
07c0 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 -.after.repeating.3.times.is.=>.
07e0 61 61 61 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 66 6f 6f 27 20 2d aaa..---.str_repeat().of.'foo'.-
0800 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 --.--.after.repeating.0.times.is
0820 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 .=>..--.after.repeating.1.times.
0840 69 73 20 3d 3e 20 66 6f 6f 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 is.=>.foo.--.after.repeating.2.t
0860 69 6d 65 73 20 69 73 20 3d 3e 20 66 6f 6f 66 6f 6f 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 imes.is.=>.foofoo.--.after.repea
0880 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 66 6f 6f 66 6f 6f 66 6f 6f 0a 0a 2d 2d ting.3.times.is.=>.foofoofoo..--
08a0 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 62 61 72 62 61 7a 62 61 78 27 20 2d 2d -.str_repeat().of.'barbazbax'.--
08c0 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 -.--.after.repeating.0.times.is.
08e0 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 =>..--.after.repeating.1.times.i
0900 73 20 3d 3e 20 62 61 72 62 61 7a 62 61 78 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e s.=>.barbazbax.--.after.repeatin
0920 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 62 61 72 62 61 7a 62 61 78 62 61 72 62 61 7a 62 g.2.times.is.=>.barbazbaxbarbazb
0940 61 78 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 ax.--.after.repeating.3.times.is
0960 20 3d 3e 20 62 61 72 62 61 7a 62 61 78 62 61 72 62 61 7a 62 61 78 62 61 72 62 61 7a 62 61 78 0a .=>.barbazbaxbarbazbaxbarbazbax.
0980 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 00 27 20 2d 2d 2d 0a 2d 2d 20 .---.str_repeat().of.'.'.---.--.
09a0 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d after.repeating.0.times.is.=>..-
09c0 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 -.after.repeating.1.times.is.=>.
09e0 00 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 20 ..--.after.repeating.2.times.is.
0a00 3d 3e 20 00 00 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 =>....--.after.repeating.3.times
0a20 20 69 73 20 3d 3e 20 00 00 00 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 .is.=>......---.str_repeat().of.
0a40 27 5c 30 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 '\0'.---.--.after.repeating.0.ti
0a60 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 mes.is.=>..--.after.repeating.1.
0a80 74 69 6d 65 73 20 69 73 20 3d 3e 20 5c 30 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e times.is.=>.\0.--.after.repeatin
0aa0 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 5c 30 5c 30 0a 2d 2d 20 61 66 74 65 72 20 72 65 g.2.times.is.=>.\0\0.--.after.re
0ac0 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 5c 30 5c 30 5c 30 0a 0a 2d 2d peating.3.times.is.=>.\0\0\0..--
0ae0 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 -.str_repeat().of.''.---.--.afte
0b00 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 r.repeating.0.times.is.=>..--.af
0b20 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 ter.repeating.1.times.is.=>..--.
0b40 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d after.repeating.2.times.is.=>..-
0b60 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 -.after.repeating.3.times.is.=>.
0b80 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 31 27 20 2d 2d 2d 0a 2d 2d ..---.str_repeat().of.'1'.---.--
0ba0 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a .after.repeating.0.times.is.=>..
0bc0 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e --.after.repeating.1.times.is.=>
0be0 20 31 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 .1.--.after.repeating.2.times.is
0c00 20 3d 3e 20 31 31 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 .=>.11.--.after.repeating.3.time
0c20 73 20 69 73 20 3d 3e 20 31 31 31 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 s.is.=>.111..---.str_repeat().of
0c40 20 27 34 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 .'4'.---.--.after.repeating.0.ti
0c60 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 mes.is.=>..--.after.repeating.1.
0c80 74 69 6d 65 73 20 69 73 20 3d 3e 20 34 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 times.is.=>.4.--.after.repeating
0ca0 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 34 34 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 .2.times.is.=>.44.--.after.repea
0cc0 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 34 34 34 0a 0a 2d 2d 2d 20 73 74 72 5f ting.3.times.is.=>.444..---.str_
0ce0 72 65 70 65 61 74 28 29 20 6f 66 20 27 31 2e 32 33 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 repeat().of.'1.23'.---.--.after.
0d00 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 repeating.0.times.is.=>..--.afte
0d20 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 31 2e 32 33 0a 2d r.repeating.1.times.is.=>.1.23.-
0d40 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 -.after.repeating.2.times.is.=>.
0d60 31 2e 32 33 31 2e 32 33 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 1.231.23.--.after.repeating.3.ti
0d80 6d 65 73 20 69 73 20 3d 3e 20 31 2e 32 33 31 2e 32 33 31 2e 32 33 0a 0a 2d 2d 2d 20 73 74 72 5f mes.is.=>.1.231.231.23..---.str_
0da0 72 65 70 65 61 74 28 29 20 6f 66 20 27 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 repeat().of.''.---.--.after.repe
0dc0 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 20 72 65 ating.0.times.is.=>..--.after.re
0de0 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 72 20 peating.1.times.is.=>..--.after.
0e00 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 65 repeating.2.times.is.=>..--.afte
0e20 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 0a 2d 2d 2d 20 r.repeating.3.times.is.=>...---.
0e40 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 20 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 str_repeat().of.'.'.---.--.after
0e60 20 72 65 70 65 61 74 69 6e 67 20 30 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 2d 2d 20 61 66 74 .repeating.0.times.is.=>..--.aft
0e80 65 72 20 72 65 70 65 61 74 69 6e 67 20 31 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 20 0a 2d 2d 20 er.repeating.1.times.is.=>...--.
0ea0 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 32 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 20 20 after.repeating.2.times.is.=>...
0ec0 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 33 20 74 69 6d 65 73 20 69 73 20 3d .--.after.repeating.3.times.is.=
0ee0 3e 20 20 20 20 0a 0a 0a 2a 2a 2a 20 54 65 73 74 69 6e 67 20 73 74 72 5f 72 65 70 65 61 74 28 29 >.......***.Testing.str_repeat()
0f00 20 77 69 74 68 20 76 61 72 69 6f 75 73 20 73 74 72 69 6e 67 73 20 26 20 6d 75 6c 74 69 70 6c 69 .with.various.strings.&.multipli
0f20 65 72 20 76 61 6c 75 65 20 2a 2a 2a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 er.value.***.---.str_repeat().of
0f40 20 27 61 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 20 .'a'.---.--.after.repeating.'a'.
0f60 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 times.is.=>..Warning:.str_repeat
0f80 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 ().expects.parameter.2.to.be.int
0fa0 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a ,.string.given.in.%s.on.line.%d.
0fc0 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 NULL.--.after.repeating.'foo'.ti
0fe0 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 mes.is.=>..Warning:.str_repeat()
1000 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 .expects.parameter.2.to.be.int,.
1020 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 string.given.in.%s.on.line.%d.NU
1040 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 78 LL.--.after.repeating.'barbazbax
1060 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 '.times.is.=>..Warning:.str_repe
1080 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 at().expects.parameter.2.to.be.i
10a0 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 nt,.string.given.in.%s.on.line.%
10c0 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 69 d.NULL.--.after.repeating.'.'.ti
10e0 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 mes.is.=>..Warning:.str_repeat()
1100 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 .expects.parameter.2.to.be.int,.
1120 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 string.given.in.%s.on.line.%d.NU
1140 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 LL.--.after.repeating.'\0'.times
1160 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 .is.=>..Warning:.str_repeat().ex
1180 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 pects.parameter.2.to.be.int,.str
11a0 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a ing.given.in.%s.on.line.%d.NULL.
11c0 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d --.after.repeating.''.times.is.=
11e0 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e >.string(0)."".--.after.repeatin
1200 67 20 27 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 61 22 0a g.'1'.times.is.=>.string(1)."a".
1220 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 73 20 69 73 20 --.after.repeating.'4'.times.is.
1240 3d 3e 20 73 74 72 69 6e 67 28 34 29 20 22 61 61 61 61 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 =>.string(4)."aaaa".--.after.rep
1260 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 eating.'1.23'.times.is.=>.string
1280 28 31 29 20 22 61 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 (1)."a".--.after.repeating.''.ti
12a0 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 mes.is.=>..Warning:.str_repeat()
12c0 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 .expects.parameter.2.to.be.int,.
12e0 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 string.given.in.%s.on.line.%d.NU
1300 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 73 20 LL.--.after.repeating.'.'.times.
1320 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 is.=>..Warning:.str_repeat().exp
1340 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 ects.parameter.2.to.be.int,.stri
1360 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a ng.given.in.%s.on.line.%d.NULL..
1380 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 66 6f 6f 27 20 2d 2d 2d 0a 2d 2d ---.str_repeat().of.'foo'.---.--
13a0 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e .after.repeating.'a'.times.is.=>
13c0 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 ..Warning:.str_repeat().expects.
13e0 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 parameter.2.to.be.int,.string.gi
1400 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 ven.in.%s.on.line.%d.NULL.--.aft
1420 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a er.repeating.'foo'.times.is.=>..
1440 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
1460 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
1480 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
14a0 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 .repeating.'barbazbax'.times.is.
14c0 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 =>..Warning:.str_repeat().expect
14e0 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 s.parameter.2.to.be.int,.string.
1500 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 given.in.%s.on.line.%d.NULL.--.a
1520 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a fter.repeating.'.'.times.is.=>..
1540 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
1560 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
1580 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
15a0 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 .repeating.'\0'.times.is.=>..War
15c0 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d ning:.str_repeat().expects.param
15e0 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 eter.2.to.be.int,.string.given.i
1600 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 n.%s.on.line.%d.NULL.--.after.re
1620 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 peating.''.times.is.=>.string(0)
1640 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 ."".--.after.repeating.'1'.times
1660 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 33 29 20 22 66 6f 6f 22 0a 2d 2d 20 61 66 74 65 72 20 .is.=>.string(3)."foo".--.after.
1680 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 repeating.'4'.times.is.=>.string
16a0 28 31 32 29 20 22 66 6f 6f 66 6f 6f 66 6f 6f 66 6f 6f 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 (12)."foofoofoofoo".--.after.rep
16c0 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 eating.'1.23'.times.is.=>.string
16e0 28 33 29 20 22 66 6f 6f 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 (3)."foo".--.after.repeating.''.
1700 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 times.is.=>..Warning:.str_repeat
1720 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 ().expects.parameter.2.to.be.int
1740 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a ,.string.given.in.%s.on.line.%d.
1760 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 NULL.--.after.repeating.'.'.time
1780 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 s.is.=>..Warning:.str_repeat().e
17a0 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 xpects.parameter.2.to.be.int,.st
17c0 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c ring.given.in.%s.on.line.%d.NULL
17e0 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 62 61 72 62 61 7a 62 61 78 ..---.str_repeat().of.'barbazbax
1800 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d '.---.--.after.repeating.'a'.tim
1820 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 es.is.=>..Warning:.str_repeat().
1840 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 expects.parameter.2.to.be.int,.s
1860 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c tring.given.in.%s.on.line.%d.NUL
1880 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 L.--.after.repeating.'foo'.times
18a0 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 .is.=>..Warning:.str_repeat().ex
18c0 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 pects.parameter.2.to.be.int,.str
18e0 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a ing.given.in.%s.on.line.%d.NULL.
1900 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 --.after.repeating.'barbazbax'.t
1920 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 imes.is.=>..Warning:.str_repeat(
1940 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c ).expects.parameter.2.to.be.int,
1960 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e .string.given.in.%s.on.line.%d.N
1980 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 ULL.--.after.repeating.'.'.times
19a0 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 .is.=>..Warning:.str_repeat().ex
19c0 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 pects.parameter.2.to.be.int,.str
19e0 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a ing.given.in.%s.on.line.%d.NULL.
1a00 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 --.after.repeating.'\0'.times.is
1a20 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 .=>..Warning:.str_repeat().expec
1a40 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 ts.parameter.2.to.be.int,.string
1a60 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 .given.in.%s.on.line.%d.NULL.--.
1a80 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 after.repeating.''.times.is.=>.s
1aa0 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 tring(0)."".--.after.repeating.'
1ac0 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 39 29 20 22 62 61 72 62 61 7a 1'.times.is.=>.string(9)."barbaz
1ae0 62 61 78 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 bax".--.after.repeating.'4'.time
1b00 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 33 36 29 20 22 62 61 72 62 61 7a 62 61 78 62 61 72 s.is.=>.string(36)."barbazbaxbar
1b20 62 61 7a 62 61 78 62 61 72 62 61 7a 62 61 78 62 61 72 62 61 7a 62 61 78 22 0a 2d 2d 20 61 66 74 bazbaxbarbazbaxbarbazbax".--.aft
1b40 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 er.repeating.'1.23'.times.is.=>.
1b60 73 74 72 69 6e 67 28 39 29 20 22 62 61 72 62 61 7a 62 61 78 22 0a 2d 2d 20 61 66 74 65 72 20 72 string(9)."barbazbax".--.after.r
1b80 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 epeating.''.times.is.=>..Warning
1ba0 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 :.str_repeat().expects.parameter
1bc0 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 .2.to.be.int,.string.given.in.%s
1be0 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 .on.line.%d.NULL.--.after.repeat
1c00 69 6e 67 20 27 20 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 ing.'.'.times.is.=>..Warning:.st
1c20 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 r_repeat().expects.parameter.2.t
1c40 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 o.be.int,.string.given.in.%s.on.
1c60 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f line.%d.NULL..---.str_repeat().o
1c80 66 20 27 00 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 f.'.'.---.--.after.repeating.'a'
1ca0 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 .times.is.=>..Warning:.str_repea
1cc0 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e t().expects.parameter.2.to.be.in
1ce0 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 t,.string.given.in.%s.on.line.%d
1d00 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 .NULL.--.after.repeating.'foo'.t
1d20 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 imes.is.=>..Warning:.str_repeat(
1d40 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c ).expects.parameter.2.to.be.int,
1d60 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e .string.given.in.%s.on.line.%d.N
1d80 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 ULL.--.after.repeating.'barbazba
1da0 78 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 x'.times.is.=>..Warning:.str_rep
1dc0 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 eat().expects.parameter.2.to.be.
1de0 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 int,.string.given.in.%s.on.line.
1e00 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 %d.NULL.--.after.repeating.'.'.t
1e20 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 imes.is.=>..Warning:.str_repeat(
1e40 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c ).expects.parameter.2.to.be.int,
1e60 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e .string.given.in.%s.on.line.%d.N
1e80 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 ULL.--.after.repeating.'\0'.time
1ea0 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 s.is.=>..Warning:.str_repeat().e
1ec0 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 xpects.parameter.2.to.be.int,.st
1ee0 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c ring.given.in.%s.on.line.%d.NULL
1f00 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 .--.after.repeating.''.times.is.
1f20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 =>.string(0)."".--.after.repeati
1f40 6e 67 20 27 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 00 22 ng.'1'.times.is.=>.string(1)."."
1f60 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 73 20 69 73 .--.after.repeating.'4'.times.is
1f80 20 3d 3e 20 73 74 72 69 6e 67 28 34 29 20 22 00 00 00 00 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 .=>.string(4)."....".--.after.re
1fa0 70 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e peating.'1.23'.times.is.=>.strin
1fc0 67 28 31 29 20 22 00 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 g(1).".".--.after.repeating.''.t
1fe0 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 imes.is.=>..Warning:.str_repeat(
2000 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c ).expects.parameter.2.to.be.int,
2020 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e .string.given.in.%s.on.line.%d.N
2040 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 73 ULL.--.after.repeating.'.'.times
2060 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 .is.=>..Warning:.str_repeat().ex
2080 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 pects.parameter.2.to.be.int,.str
20a0 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a ing.given.in.%s.on.line.%d.NULL.
20c0 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 5c 30 27 20 2d 2d 2d 0a 2d 2d .---.str_repeat().of.'\0'.---.--
20e0 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e .after.repeating.'a'.times.is.=>
2100 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 ..Warning:.str_repeat().expects.
2120 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 parameter.2.to.be.int,.string.gi
2140 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 ven.in.%s.on.line.%d.NULL.--.aft
2160 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a er.repeating.'foo'.times.is.=>..
2180 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
21a0 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
21c0 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
21e0 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 .repeating.'barbazbax'.times.is.
2200 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 =>..Warning:.str_repeat().expect
2220 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 s.parameter.2.to.be.int,.string.
2240 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 given.in.%s.on.line.%d.NULL.--.a
2260 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a fter.repeating.'.'.times.is.=>..
2280 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
22a0 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
22c0 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
22e0 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 .repeating.'\0'.times.is.=>..War
2300 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d ning:.str_repeat().expects.param
2320 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 eter.2.to.be.int,.string.given.i
2340 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 n.%s.on.line.%d.NULL.--.after.re
2360 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 peating.''.times.is.=>.string(0)
2380 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 ."".--.after.repeating.'1'.times
23a0 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 32 29 20 22 5c 30 22 0a 2d 2d 20 61 66 74 65 72 20 72 .is.=>.string(2)."\0".--.after.r
23c0 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 epeating.'4'.times.is.=>.string(
23e0 38 29 20 22 5c 30 5c 30 5c 30 5c 30 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 8)."\0\0\0\0".--.after.repeating
2400 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 32 29 20 22 5c .'1.23'.times.is.=>.string(2)."\
2420 30 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 0".--.after.repeating.''.times.i
2440 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 s.=>..Warning:.str_repeat().expe
2460 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e cts.parameter.2.to.be.int,.strin
2480 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d g.given.in.%s.on.line.%d.NULL.--
24a0 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 73 20 69 73 20 3d 3e .after.repeating.'.'.times.is.=>
24c0 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 ..Warning:.str_repeat().expects.
24e0 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 parameter.2.to.be.int,.string.gi
2500 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 2d 2d 2d 20 73 ven.in.%s.on.line.%d.NULL..---.s
2520 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 tr_repeat().of.''.---.--.after.r
2540 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e epeating.'a'.times.is.=>..Warnin
2560 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 g:.str_repeat().expects.paramete
2580 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 r.2.to.be.int,.string.given.in.%
25a0 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 s.on.line.%d.NULL.--.after.repea
25c0 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a ting.'foo'.times.is.=>..Warning:
25e0 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 .str_repeat().expects.parameter.
2600 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 2.to.be.int,.string.given.in.%s.
2620 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 on.line.%d.NULL.--.after.repeati
2640 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e ng.'barbazbax'.times.is.=>..Warn
2660 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 ing:.str_repeat().expects.parame
2680 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e ter.2.to.be.int,.string.given.in
26a0 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 .%s.on.line.%d.NULL.--.after.rep
26c0 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a eating.'.'.times.is.=>..Warning:
26e0 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 .str_repeat().expects.parameter.
2700 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 2.to.be.int,.string.given.in.%s.
2720 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 on.line.%d.NULL.--.after.repeati
2740 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 ng.'\0'.times.is.=>..Warning:.st
2760 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 r_repeat().expects.parameter.2.t
2780 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 o.be.int,.string.given.in.%s.on.
27a0 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 line.%d.NULL.--.after.repeating.
27c0 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 ''.times.is.=>.string(0)."".--.a
27e0 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 fter.repeating.'1'.times.is.=>.s
2800 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 tring(0)."".--.after.repeating.'
2820 34 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 4'.times.is.=>.string(0)."".--.a
2840 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d fter.repeating.'1.23'.times.is.=
2860 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e >.string(0)."".--.after.repeatin
2880 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 g.''.times.is.=>..Warning:.str_r
28a0 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 epeat().expects.parameter.2.to.b
28c0 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e e.int,.string.given.in.%s.on.lin
28e0 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 e.%d.NULL.--.after.repeating.'.'
2900 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 .times.is.=>..Warning:.str_repea
2920 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e t().expects.parameter.2.to.be.in
2940 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 t,.string.given.in.%s.on.line.%d
2960 0a 4e 55 4c 4c 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 31 27 20 2d .NULL..---.str_repeat().of.'1'.-
2980 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 --.--.after.repeating.'a'.times.
29a0 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 is.=>..Warning:.str_repeat().exp
29c0 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 ects.parameter.2.to.be.int,.stri
29e0 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d ng.given.in.%s.on.line.%d.NULL.-
2a00 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 -.after.repeating.'foo'.times.is
2a20 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 .=>..Warning:.str_repeat().expec
2a40 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 ts.parameter.2.to.be.int,.string
2a60 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 .given.in.%s.on.line.%d.NULL.--.
2a80 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 after.repeating.'barbazbax'.time
2aa0 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 s.is.=>..Warning:.str_repeat().e
2ac0 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 xpects.parameter.2.to.be.int,.st
2ae0 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c ring.given.in.%s.on.line.%d.NULL
2b00 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 .--.after.repeating.'.'.times.is
2b20 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 .=>..Warning:.str_repeat().expec
2b40 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 ts.parameter.2.to.be.int,.string
2b60 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 .given.in.%s.on.line.%d.NULL.--.
2b80 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e after.repeating.'\0'.times.is.=>
2ba0 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 ..Warning:.str_repeat().expects.
2bc0 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 parameter.2.to.be.int,.string.gi
2be0 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 ven.in.%s.on.line.%d.NULL.--.aft
2c00 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 er.repeating.''.times.is.=>.stri
2c20 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 ng(0)."".--.after.repeating.'1'.
2c40 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 31 22 0a 2d 2d 20 61 66 74 times.is.=>.string(1)."1".--.aft
2c60 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 er.repeating.'4'.times.is.=>.str
2c80 69 6e 67 28 34 29 20 22 31 31 31 31 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 ing(4)."1111".--.after.repeating
2ca0 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 31 .'1.23'.times.is.=>.string(1)."1
2cc0 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 ".--.after.repeating.''.times.is
2ce0 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 .=>..Warning:.str_repeat().expec
2d00 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 ts.parameter.2.to.be.int,.string
2d20 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 .given.in.%s.on.line.%d.NULL.--.
2d40 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 after.repeating.'.'.times.is.=>.
2d60 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 .Warning:.str_repeat().expects.p
2d80 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 arameter.2.to.be.int,.string.giv
2da0 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 2d 2d 2d 20 73 74 en.in.%s.on.line.%d.NULL..---.st
2dc0 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 34 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 r_repeat().of.'4'.---.--.after.r
2de0 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e epeating.'a'.times.is.=>..Warnin
2e00 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 g:.str_repeat().expects.paramete
2e20 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 r.2.to.be.int,.string.given.in.%
2e40 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 s.on.line.%d.NULL.--.after.repea
2e60 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a ting.'foo'.times.is.=>..Warning:
2e80 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 .str_repeat().expects.parameter.
2ea0 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 2.to.be.int,.string.given.in.%s.
2ec0 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 on.line.%d.NULL.--.after.repeati
2ee0 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e ng.'barbazbax'.times.is.=>..Warn
2f00 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 ing:.str_repeat().expects.parame
2f20 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e ter.2.to.be.int,.string.given.in
2f40 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 .%s.on.line.%d.NULL.--.after.rep
2f60 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a eating.'.'.times.is.=>..Warning:
2f80 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 .str_repeat().expects.parameter.
2fa0 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 2.to.be.int,.string.given.in.%s.
2fc0 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 on.line.%d.NULL.--.after.repeati
2fe0 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 ng.'\0'.times.is.=>..Warning:.st
3000 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 r_repeat().expects.parameter.2.t
3020 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 o.be.int,.string.given.in.%s.on.
3040 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 line.%d.NULL.--.after.repeating.
3060 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 ''.times.is.=>.string(0)."".--.a
3080 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 fter.repeating.'1'.times.is.=>.s
30a0 74 72 69 6e 67 28 31 29 20 22 34 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 tring(1)."4".--.after.repeating.
30c0 27 34 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 34 29 20 22 34 34 34 34 22 '4'.times.is.=>.string(4)."4444"
30e0 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 .--.after.repeating.'1.23'.times
3100 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 34 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 .is.=>.string(1)."4".--.after.re
3120 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a peating.''.times.is.=>..Warning:
3140 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 .str_repeat().expects.parameter.
3160 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 2.to.be.int,.string.given.in.%s.
3180 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 on.line.%d.NULL.--.after.repeati
31a0 6e 67 20 27 20 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 ng.'.'.times.is.=>..Warning:.str
31c0 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f _repeat().expects.parameter.2.to
31e0 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c .be.int,.string.given.in.%s.on.l
3200 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 ine.%d.NULL..---.str_repeat().of
3220 20 27 31 2e 32 33 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 .'1.23'.---.--.after.repeating.'
3240 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 a'.times.is.=>..Warning:.str_rep
3260 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 eat().expects.parameter.2.to.be.
3280 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 int,.string.given.in.%s.on.line.
32a0 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 %d.NULL.--.after.repeating.'foo'
32c0 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 .times.is.=>..Warning:.str_repea
32e0 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e t().expects.parameter.2.to.be.in
3300 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 t,.string.given.in.%s.on.line.%d
3320 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a .NULL.--.after.repeating.'barbaz
3340 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 bax'.times.is.=>..Warning:.str_r
3360 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 epeat().expects.parameter.2.to.b
3380 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e e.int,.string.given.in.%s.on.lin
33a0 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 e.%d.NULL.--.after.repeating.'.'
33c0 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 .times.is.=>..Warning:.str_repea
33e0 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e t().expects.parameter.2.to.be.in
3400 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 t,.string.given.in.%s.on.line.%d
3420 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 .NULL.--.after.repeating.'\0'.ti
3440 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 mes.is.=>..Warning:.str_repeat()
3460 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 .expects.parameter.2.to.be.int,.
3480 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 string.given.in.%s.on.line.%d.NU
34a0 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 LL.--.after.repeating.''.times.i
34c0 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 s.=>.string(0)."".--.after.repea
34e0 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 34 29 20 22 ting.'1'.times.is.=>.string(4)."
3500 31 2e 32 33 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 1.23".--.after.repeating.'4'.tim
3520 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 36 29 20 22 31 2e 32 33 31 2e 32 33 31 2e 32 es.is.=>.string(16)."1.231.231.2
3540 33 31 2e 32 33 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 2e 32 33 27 31.23".--.after.repeating.'1.23'
3560 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 34 29 20 22 31 2e 32 33 22 0a 2d 2d .times.is.=>.string(4)."1.23".--
3580 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 .after.repeating.''.times.is.=>.
35a0 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 .Warning:.str_repeat().expects.p
35c0 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 arameter.2.to.be.int,.string.giv
35e0 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 en.in.%s.on.line.%d.NULL.--.afte
3600 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 r.repeating.'.'.times.is.=>..War
3620 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d ning:.str_repeat().expects.param
3640 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 eter.2.to.be.int,.string.given.i
3660 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 n.%s.on.line.%d.NULL..---.str_re
3680 70 65 61 74 28 29 20 6f 66 20 27 27 20 2d 2d 2d 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 peat().of.''.---.--.after.repeat
36a0 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 ing.'a'.times.is.=>..Warning:.st
36c0 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 r_repeat().expects.parameter.2.t
36e0 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 o.be.int,.string.given.in.%s.on.
3700 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 line.%d.NULL.--.after.repeating.
3720 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 'foo'.times.is.=>..Warning:.str_
3740 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 repeat().expects.parameter.2.to.
3760 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 be.int,.string.given.in.%s.on.li
3780 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 62 ne.%d.NULL.--.after.repeating.'b
37a0 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 arbazbax'.times.is.=>..Warning:.
37c0 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 str_repeat().expects.parameter.2
37e0 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f .to.be.int,.string.given.in.%s.o
3800 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e n.line.%d.NULL.--.after.repeatin
3820 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f g.'.'.times.is.=>..Warning:.str_
3840 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 repeat().expects.parameter.2.to.
3860 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 be.int,.string.given.in.%s.on.li
3880 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 5c ne.%d.NULL.--.after.repeating.'\
38a0 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 0'.times.is.=>..Warning:.str_rep
38c0 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 eat().expects.parameter.2.to.be.
38e0 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 int,.string.given.in.%s.on.line.
3900 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 %d.NULL.--.after.repeating.''.ti
3920 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 mes.is.=>.string(0)."".--.after.
3940 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 repeating.'1'.times.is.=>.string
3960 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 (0)."".--.after.repeating.'4'.ti
3980 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 mes.is.=>.string(0)."".--.after.
39a0 72 65 70 65 61 74 69 6e 67 20 27 31 2e 32 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 repeating.'1.23'.times.is.=>.str
39c0 69 6e 67 28 30 29 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 ing(0)."".--.after.repeating.''.
39e0 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 times.is.=>..Warning:.str_repeat
3a00 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 ().expects.parameter.2.to.be.int
3a20 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a ,.string.given.in.%s.on.line.%d.
3a40 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 NULL.--.after.repeating.'.'.time
3a60 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 s.is.=>..Warning:.str_repeat().e
3a80 78 70 65 63 74 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 xpects.parameter.2.to.be.int,.st
3aa0 72 69 6e 67 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c ring.given.in.%s.on.line.%d.NULL
3ac0 0a 0a 2d 2d 2d 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 6f 66 20 27 20 27 20 2d 2d 2d 0a 2d 2d ..---.str_repeat().of.'.'.---.--
3ae0 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 61 27 20 74 69 6d 65 73 20 69 73 20 3d 3e .after.repeating.'a'.times.is.=>
3b00 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 ..Warning:.str_repeat().expects.
3b20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 parameter.2.to.be.int,.string.gi
3b40 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 ven.in.%s.on.line.%d.NULL.--.aft
3b60 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 66 6f 6f 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a er.repeating.'foo'.times.is.=>..
3b80 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
3ba0 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
3bc0 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
3be0 20 72 65 70 65 61 74 69 6e 67 20 27 62 61 72 62 61 7a 62 61 78 27 20 74 69 6d 65 73 20 69 73 20 .repeating.'barbazbax'.times.is.
3c00 3d 3e 20 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 =>..Warning:.str_repeat().expect
3c20 73 20 70 61 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 s.parameter.2.to.be.int,.string.
3c40 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 given.in.%s.on.line.%d.NULL.--.a
3c60 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 00 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a fter.repeating.'.'.times.is.=>..
3c80 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
3ca0 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
3cc0 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
3ce0 20 72 65 70 65 61 74 69 6e 67 20 27 5c 30 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 .repeating.'\0'.times.is.=>..War
3d00 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d ning:.str_repeat().expects.param
3d20 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 eter.2.to.be.int,.string.given.i
3d40 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 20 72 65 n.%s.on.line.%d.NULL.--.after.re
3d60 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 30 29 peating.''.times.is.=>.string(0)
3d80 20 22 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 27 20 74 69 6d 65 73 ."".--.after.repeating.'1'.times
3da0 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 20 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 .is.=>.string(1).".".--.after.re
3dc0 70 65 61 74 69 6e 67 20 27 34 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 34 peating.'4'.times.is.=>.string(4
3de0 29 20 22 20 20 20 20 22 0a 2d 2d 20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 31 2e 32 )."....".--.after.repeating.'1.2
3e00 33 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 73 74 72 69 6e 67 28 31 29 20 22 20 22 0a 2d 2d 20 3'.times.is.=>.string(1).".".--.
3e20 61 66 74 65 72 20 72 65 70 65 61 74 69 6e 67 20 27 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a after.repeating.''.times.is.=>..
3e40 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 Warning:.str_repeat().expects.pa
3e60 72 61 6d 65 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 rameter.2.to.be.int,.string.give
3e80 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 2d 2d 20 61 66 74 65 72 n.in.%s.on.line.%d.NULL.--.after
3ea0 20 72 65 70 65 61 74 69 6e 67 20 27 20 27 20 74 69 6d 65 73 20 69 73 20 3d 3e 20 0a 57 61 72 6e .repeating.'.'.times.is.=>..Warn
3ec0 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 70 61 72 61 6d 65 ing:.str_repeat().expects.parame
3ee0 74 65 72 20 32 20 74 6f 20 62 65 20 69 6e 74 2c 20 73 74 72 69 6e 67 20 67 69 76 65 6e 20 69 6e ter.2.to.be.int,.string.given.in
3f00 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 2a 2a 2a 20 54 65 73 74 69 6e 67 .%s.on.line.%d.NULL..***.Testing
3f20 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 77 69 74 68 20 63 6f 6d 70 6c 65 78 20 73 74 72 69 6e .str_repeat().with.complex.strin
3f40 67 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 0a 20 20 20 20 20 20 20 6f 74 68 65 72 20 74 68 61 6e gs.containing.........other.than
3f60 20 37 2d 62 69 74 20 63 68 61 72 73 20 2a 2a 2a 0a 73 74 72 69 6e 67 28 32 31 29 20 22 00 80 81 .7-bit.chars.***.string(21)."...
3f80 ea eb fe ff 00 80 81 ea eb fe ff 00 80 81 ea eb fe ff 22 0a 73 74 72 69 6e 67 28 32 31 29 20 22 ..................".string(21)."
3fa0 00 80 81 ea eb fe ff 00 80 81 ea eb fe ff 00 80 81 ea eb fe ff 22 0a 0a 0a 2a 2a 2a 20 54 65 73 ....................."...***.Tes
3fc0 74 69 6e 67 20 65 72 72 6f 72 20 63 6f 6e 64 69 74 69 6f 6e 73 20 2a 2a 2a 0a 57 61 72 6e 69 6e ting.error.conditions.***.Warnin
3fe0 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 65 78 61 63 74 6c 79 20 g:.str_repeat().expects.exactly.
4000 32 20 70 61 72 61 6d 65 74 65 72 73 2c 20 30 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 2.parameters,.0.given.in.%s.on.l
4020 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 ine.%d.NULL..Warning:.str_repeat
4040 28 29 20 65 78 70 65 63 74 73 20 65 78 61 63 74 6c 79 20 32 20 70 61 72 61 6d 65 74 65 72 73 2c ().expects.exactly.2.parameters,
4060 20 31 20 67 69 76 65 6e 20 69 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a .1.given.in.%s.on.line.%d.NULL..
4080 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f 72 65 70 65 61 74 28 29 20 65 78 70 65 63 74 73 20 65 78 Warning:.str_repeat().expects.ex
40a0 61 63 74 6c 79 20 32 20 70 61 72 61 6d 65 74 65 72 73 2c 20 33 20 67 69 76 65 6e 20 69 6e 20 25 actly.2.parameters,.3.given.in.%
40c0 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 0a 57 61 72 6e 69 6e 67 3a 20 73 74 72 5f s.on.line.%d.NULL..Warning:.str_
40e0 72 65 70 65 61 74 28 29 3a 20 53 65 63 6f 6e 64 20 61 72 67 75 6d 65 6e 74 20 68 61 73 20 74 6f repeat():.Second.argument.has.to
4100 20 62 65 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 6f 72 20 65 71 75 61 6c 20 74 6f 20 30 20 69 .be.greater.than.or.equal.to.0.i
4120 6e 20 25 73 20 6f 6e 20 6c 69 6e 65 20 25 64 0a 4e 55 4c 4c 0a 44 6f 6e 65 0a n.%s.on.line.%d.NULL.Done.