Home
last modified time | relevance | path

Searched refs:str_repeat (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/php-src/ext/standard/tests/math/
H A Dbindec_basiclong_64bit.phpt16 '0'.str_repeat('1',63),
17 str_repeat('1',64),
18 '0'.str_repeat('1',31),
19 str_repeat('1',32),
20 '0'.str_repeat('1',64),
21 str_repeat('1',65),
22 '0'.str_repeat('1',32),
23 str_repeat('1',33)
H A Dhexdec_basiclong_64bit.phpt16 '7'.str_repeat('f',15),
17 str_repeat('f',16),
18 '7'.str_repeat('f',7),
19 str_repeat('f',8),
20 '7'.str_repeat('f',16),
21 str_repeat('f',18),
22 '7'.str_repeat('f',8),
23 str_repeat('f',9)
/php-src/ext/standard/tests/strings/
H A Dstr_repeat.phpt2 Test str_repeat() function
26 echo str_repeat($input, $n)."\n";
41 --- str_repeat() of 'a' ---
47 --- str_repeat() of 'foo' ---
59 --- str_repeat() of '%0' ---
65 --- str_repeat() of '\0' ---
71 --- str_repeat() of '1' ---
77 --- str_repeat() of '4' ---
83 --- str_repeat() of '1.23' ---
89 --- str_repeat() of '' ---
[all …]
H A Dcrypt_variation1.phpt6 $b = str_repeat("A", 124);
8 $b = str_repeat("A", 125);
10 $b = str_repeat("A", 4096);
H A Dstr_repeat_variation1.phpt2 Test str_repeat() function: usage variations - complex strings containing other than 7-bit chars
9 $withCodePoint = str_repeat($str, chr(51)); // ASCII value of '3' given
10 $explicit = str_repeat($str, 3);
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_edge_case_08.phpt18 $str = str_repeat('A', 4095) . "\xf0\x90" . str_repeat('B', 100);
21 $str = str_repeat('A', 4095) . "\xf0X\x90" . str_repeat('B', 100);
24 $str = str_repeat('A', 4094) . "\xf0\x90" . str_repeat('B', 100);
27 $str = str_repeat('A', 4093) . "\xf0\x90" . str_repeat('B', 100);
30 $str = str_repeat('A', 4094) . "\xf0\x90";
33 $str = str_repeat('A', 4095) . "\xf0\x90";
/php-src/ext/phar/tests/tar/
H A Dbignames.phpt16 $p1[str_repeat('a', 100) . '/b'] = 'hi';
17 $p1[str_repeat('a', 155) . '/' . str_repeat('b', 100)] = 'hi2';
20 echo $p2[str_repeat('a', 100) . '/b']->getContent() . "\n";
21 echo $p2[str_repeat('a', 155) . '/' . str_repeat('b', 100)]->getContent() . "\n";
24 $p2[str_repeat('a', 400)] = 'yuck';
31 $p2[str_repeat('a', 101)] = 'yuck';
38 $p2[str_repeat('b', 160) . '/' . str_repeat('a', 90)] = 'yuck';
H A Dbignames_overflow.phpt16 $tar->addFile(str_repeat('a', 101), 'hi');
17 $tar->addFile(str_repeat('a', 255), 'hi2');
24 echo $p1['a/' . str_repeat('a', 100)]->getContent() . "\n";
25 echo $p1[str_repeat('a', 155) . '/' . str_repeat('a', 100)]->getContent() . "\n";
/php-src/ext/iconv/tests/
H A Diconv_strrpos.phpt28 foo(str_repeat("abcab", 60)."abcdb".str_repeat("adabc", 60), "abcd");
29 foo(str_repeat("����������", 30)."����������".str_repeat("����������", 30), "����", "EUC-JP");
32 $str = str_repeat("����������", 60).str_repeat('$', $i).str_repeat("����������", 60);
H A Diconv_strpos.phpt35 foo(str_repeat("abcab", 60)."abcdb".str_repeat("adabc", 60), "abcd", 0);
36 foo(str_repeat("����������", 30)."����������".str_repeat("����������", 30), "����", 0, "EUC-JP");
37 $str = str_repeat("����������", 60).'$'.str_repeat("����������", 60);
/php-src/sapi/fpm/tests/
H A Dlog-bwp-realloc-buffer.phpt26 file_put_contents('php://stderr', str_repeat('a', 100));
28 file_put_contents('php://stderr', str_repeat('b', 2500) . "\n");
36 $tester->expectLogLine(str_repeat('a', 100) . str_repeat('b', 923), decorated: false);
37 $tester->expectLogLine(str_repeat('b', 1023), decorated: false);
38 $tester->expectLogLine(str_repeat('b', 554), decorated: false);
/php-src/ext/hash/tests/
H A Dgost.phpt8 echo hash('gost', str_repeat('a', 31)), "\n";
9 echo hash('gost', str_repeat('a', 32)), "\n";
10 echo hash('gost', str_repeat('a', 33)), "\n";
15 echo hash('gost-crypto', str_repeat('a', 31)), "\n";
16 echo hash('gost-crypto', str_repeat('a', 32)), "\n";
17 echo hash('gost-crypto', str_repeat('a', 33)), "\n";
H A Dtiger.phpt7 echo hash('tiger192,3', str_repeat('a', 63)),"\n";
8 echo hash('tiger192,3', str_repeat('abc', 61)),"\n";
9 echo hash('tiger192,3', str_repeat('abc', 64)),"\n";
H A Dhmac-md5.phpt6 $ctx = hash_init('md5',HASH_HMAC,str_repeat(chr(0x0b), 16));
14 echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
/php-src/ext/standard/tests/file/
H A Dbug75679.phpt8 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_259_characters_long_', 100, '_') . '/', 1)…
9 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_260_characters_long_', 100, '_') . '/', 1)…
10 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_261_characters_long_', 100, '_') . '/', 1)…
32 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_259_characters_long_', 100, '_') . '/', 1)…
33 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_260_characters_long_', 100, '_') . '/', 1)…
34 …str_pad ($d . '/' . str_repeat (str_pad ('bug75679_path_261_characters_long_', 100, '_') . '/', 1)…
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_types.phpt143 test_type($db, 400, 'CHAR(255)', str_repeat('z', 255));
148 test_type($db, 440, 'BINARY(1)', str_repeat('a', 1));
150 test_type($db, 460, 'VARBINARY(1)', str_repeat('a', 1));
153 test_type($db, 480, 'TINYBLOB', str_repeat('b', 255));
154 test_type($db, 490, 'BLOB', str_repeat('b', 256));
155 test_type($db, 500, 'MEDIUMBLOB', str_repeat('b', 256));
156 test_type($db, 510, 'LONGBLOB', str_repeat('b', 256));
158 test_type($db, 520, 'TINYTEXT', str_repeat('b', 255));
161 test_type($db, 560, 'TEXT', str_repeat('b', 256));
164 test_type($db, 580, 'MEDIUMTEXT', str_repeat('b', 256));
[all …]
H A Dpdo_mysql_stmt_bindparam_types.phpt136 pdo_mysql_stmt_bindparam_types($db, 41, 'VARCHAR(255)', str_repeat('a', 255));
137 pdo_mysql_stmt_bindparam_types($db, 42, 'BINARY(255)', str_repeat('a', 255));
139 pdo_mysql_stmt_bindparam_types($db, 44, 'TINYBLOB', str_repeat('a', 255));
140 pdo_mysql_stmt_bindparam_types($db, 45, 'BLOB', str_repeat('b', 300));
141 pdo_mysql_stmt_bindparam_types($db, 46, 'MEDIUMBLOB', str_repeat('b', 300));
142 pdo_mysql_stmt_bindparam_types($db, 47, 'LONGBLOB', str_repeat('b', 300));
143 pdo_mysql_stmt_bindparam_types($db, 48, 'TINYTEXT', str_repeat('c', 255));
145 pdo_mysql_stmt_bindparam_types($db, 50, 'TEXT', str_repeat('d', 300));
146 pdo_mysql_stmt_bindparam_types($db, 51, 'TEXT BINARY', str_repeat('d', 300));
147 pdo_mysql_stmt_bindparam_types($db, 52, 'MEDIUMTEXT', str_repeat('d', 300));
[all …]
/php-src/ext/standard/tests/serialize/
H A DunserializeS.phpt7 $str = 'S:'.(100*3).':"'.str_repeat('\61', 100).'"';
8 $arr = array(str_repeat('"', 200)."1"=>1,str_repeat('"', 200)."2"=>1);
/php-src/ext/mbstring/tests/
H A Dgh11476.phpt7 $str = str_repeat('a', 250) . chr(246) . str_repeat('a', 9) . chr(246) . str_repeat('a', 6);
/php-src/ext/intl/tests/
H A Dbug62082.phpt7 var_dump(locale_get_display_name(str_repeat("a", 300), null));
8 var_dump(locale_get_display_name(str_repeat("a", 512), null));
9 var_dump(locale_get_display_name(str_repeat("a", 600), null));
/php-src/ext/zend_test/tests/
H A Dobserver_error_01.phpt19 str_repeat('.', 1024 * 1024 * 2); // 2MB
31 <!-- init str_repeat() -->
32 <str_repeat>
35 </str_repeat:NULL>
/php-src/ext/phar/tests/zip/
H A Dlargezip.phpt16 $p['big'] = str_repeat(str_repeat('hi', 100), 1000);
17 $p['big2'] = str_repeat(str_repeat('hi', 100), 1000);
/php-src/ext/bcmath/tests/
H A Dbcmul_check_overflow.phpt11 $num1 = str_repeat('99999999', $repeat);
16 $expected = str_repeat('9', $repeat * 8 - 1) . '8' . str_repeat('0', $repeat * 8 - 1) . '1';
/php-src/ext/pcre/tests/
H A Dbug81243.phpt5 $test_string = str_repeat('Eins zwei drei', 2000);
9 $replaced = str_repeat($replaced, 1);
15 $replaced = str_repeat($replaced, 1);
/php-src/ext/phar/tests/
H A Dbug66960.phpt12 var_dump(file_exists("phar://$file/". str_repeat('a', PHP_MAXPATHLEN-1)));
13 var_dump(file_exists("phar://$file/". str_repeat('a', PHP_MAXPATHLEN)));
14 var_dump(file_exists("phar://$file/". str_repeat('a', PHP_MAXPATHLEN+1)));

Completed in 31 milliseconds

12345678910>>...19