Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-8.0/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-8.0/ext/standard/tests/strings/
H A Dstr_repeat.phpt2 Test str_repeat() function
42 --- str_repeat() of 'a' ---
48 --- str_repeat() of 'foo' ---
60 --- str_repeat() of '�' ---
66 --- str_repeat() of '\0' ---
72 --- str_repeat() of '' ---
78 --- str_repeat() of '1' ---
84 --- str_repeat() of '4' ---
90 --- str_repeat() of '1.23' ---
96 --- 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);
H A Dbug64879.phpt6 quoted_printable_encode(str_repeat("\xf4", 1000));
7 quoted_printable_encode(str_repeat("\xf4", 100000));
/PHP-8.0/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.phpt17 $tar->addFile(str_repeat('a', 101), 'hi');
18 $tar->addFile(str_repeat('a', 255), 'hi2');
25 echo $p1['a/' . str_repeat('a', 100)]->getContent() . "\n";
26 echo $p1[str_repeat('a', 155) . '/' . str_repeat('a', 100)]->getContent() . "\n";
/PHP-8.0/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-8.0/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-8.0/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-8.0/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-8.0/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-8.0/ext/intl/tests/
H A Dbug62082.phpt9 var_dump(locale_get_display_name(str_repeat("a", 300), null));
10 var_dump(locale_get_display_name(str_repeat("a", 512), null));
11 var_dump(locale_get_display_name(str_repeat("a", 600), null));
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_types.phpt142 test_type($db, 400, 'CHAR(255)', str_repeat('z', 255));
147 test_type($db, 440, 'BINARY(1)', str_repeat('a', 1));
149 test_type($db, 460, 'VARBINARY(1)', str_repeat('a', 1));
152 test_type($db, 480, 'TINYBLOB', str_repeat('b', 255));
153 test_type($db, 490, 'BLOB', str_repeat('b', 256));
154 test_type($db, 500, 'MEDIUMBLOB', str_repeat('b', 256));
155 test_type($db, 510, 'LONGBLOB', str_repeat('b', 256));
157 test_type($db, 520, 'TINYTEXT', str_repeat('b', 255));
160 test_type($db, 560, 'TEXT', str_repeat('b', 256));
163 test_type($db, 580, 'MEDIUMTEXT', str_repeat('b', 256));
[all …]
H A Dpdo_mysql_stmt_bindparam_types.phpt142 pdo_mysql_stmt_bindparam_types($db, 41, 'VARCHAR(255)', str_repeat('a', 255));
143 pdo_mysql_stmt_bindparam_types($db, 42, 'BINARY(255)', str_repeat('a', 255));
145 pdo_mysql_stmt_bindparam_types($db, 44, 'TINYBLOB', str_repeat('a', 255));
146 pdo_mysql_stmt_bindparam_types($db, 45, 'BLOB', str_repeat('b', 300));
147 pdo_mysql_stmt_bindparam_types($db, 46, 'MEDIUMBLOB', str_repeat('b', 300));
148 pdo_mysql_stmt_bindparam_types($db, 47, 'LONGBLOB', str_repeat('b', 300));
149 pdo_mysql_stmt_bindparam_types($db, 48, 'TINYTEXT', str_repeat('c', 255));
151 pdo_mysql_stmt_bindparam_types($db, 50, 'TEXT', str_repeat('d', 300));
152 pdo_mysql_stmt_bindparam_types($db, 51, 'TEXT BINARY', str_repeat('d', 300));
153 pdo_mysql_stmt_bindparam_types($db, 52, 'MEDIUMTEXT', str_repeat('d', 300));
[all …]
/PHP-8.0/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-8.0/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-8.0/ext/pdo_oci/tests/
H A Dpdo_oci_stream_2.phpt43 $a1 = str_repeat('a', 4086);
44 $a2 = str_repeat('b', 4087);
45 $a3 = str_repeat('c', 4088);
46 $a4 = str_repeat('d', 4089);
47 $a5 = str_repeat('e', 4090);
48 $a6 = str_repeat('f', 4091);
49 $a7 = str_repeat('g', 4092);
50 $a8 = str_repeat('h', 4093);
51 $a9 = str_repeat('i', 4094);
52 $a10 = str_repeat('j', 4095);
/PHP-8.0/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)));
/PHP-8.0/Zend/tests/try/
H A Dbug70228.phpt7 try { return str_repeat("a", 2); }
8 finally { return str_repeat("b", 2); }
/PHP-8.0/Zend/tests/
H A Dbug55509.phpt61 $a1 = str_repeat("1", 1024 * 1024 * 1024 * 0.5);
63 $a2 = str_repeat("2", 1024 * 1024 * 1024 * 0.5);
65 $a3 = str_repeat("3", 1024 * 1024 * 1024 * 0.5);
67 $a4 = str_repeat("4", 1024 * 1024 * 1024 * 0.5);
69 $a5 = str_repeat("5", 1024 * 1024 * 1024 * 0.5);

Completed in 32 milliseconds

12345678910>>...16