/php-src/ext/mbstring/ |
H A D | mbstring.h | 59 const char *input, size_t length, 62 const char *input, size_t length, const mbfl_encoding *to_encoding, 68 MBSTRING_API bool php_mb_check_encoding(const char *input, size_t length, const mbfl_encoding *enco…
|
H A D | mbstring.stub.php | 87 function mb_str_split(string $string, int $length = 1, ?string $encoding = null): array {} argument 114 function mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… argument 117 function mb_strcut(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… argument 196 function mb_str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_… argument
|
H A D | mbstring_arginfo.h | 42 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "1") 86 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null") 217 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
|
/php-src/ext/mbstring/tests/ |
H A D | bug49354.phpt | 2 Bug #49354 (mb_strcut() cuts wrong length when offset is in the middle of a multibyte character)
|
H A D | bug54494.phpt | 20 $length = mb_strlen($string, $mode); 21 echo "Length: ", $length, "\n"; 24 for ($i=0; $i < $length; $i++) { 36 $length = mb_strlen($string, $mode); 37 echo "Length: ", $length, "\n"; 40 for ($i=0; $i < $length; $i++) {
|
H A D | encoding_tests.inc | 146 $length = min(rand(5,10), count($goodChars)); 148 while ($length--) { 206 // `$startBytes` maps from first-byte values to the corresponding character length 207 // (For encodings where the first byte can tell you the length of a multi-byte
|
H A D | hz_encoding.phpt | 62 $length = 1; //min(rand(5,10), count($goodChars)); 64 while ($length--) {
|
H A D | iso2022jp_kddi_encoding.phpt | 162 $length = min(rand(5,10), count($good)); 164 while ($length--) { 175 $length = min(rand(5,10), count($good)); 177 while ($length--) {
|
H A D | iso2022jp_ms_encoding.phpt | 135 $length = min(rand(5,10), count($good)); 137 while ($length--) {
|
H A D | mb_decode_numericentity_large_ints.phpt | 36 …tity immediately after valid decimal entity which is just within maximum length", $ucs4_test1, "\x… 38 …g entity immediately after valid hex entity which is just within maximum length", $ucs4_test2, "\… 57 Starting entity immediately after valid decimal entity which is just within maximum length: 0000002… 58 Starting entity immediately after valid hex entity which is just within maximum length: 00000026000…
|
H A D | mb_encode_mimeheader_basic4.phpt | 56 // take a vastly larger number of bytes; make sure we don't overrun max line length 75 // without overrunning max line length
|
H A D | mb_str_pad.phpt | 43 echo "--- Edge cases pad length ---\n"; 102 --- Edge cases pad length ---
|
H A D | mb_str_split_error_conditions.phpt | 10 // Invalid split length 51 mb_str_split(): Argument #2 ($length) must be greater than 0 52 mb_str_split(): Argument #2 ($length) must be greater than 0
|
H A D | mb_str_split_other.phpt | 127 mb_str_split(): Argument #2 ($length) is too large
|
H A D | mb_str_split_utf8_utf16.phpt | 12 /* 123 string and 4-bytes length character 0xf09280a9 */ 15 /* 123 string and 4-bytes length character 0xf09280a9 head without tail */
|
H A D | mb_strcut_negative_length.phpt | 2 mb_strcut() negative length test
|
H A D | mb_strimwidth.phpt | 28 print "] length=" . mb_strlen($result, $encoding); 228 String length: 10 237 start=0 width=0 result=[2e00 2e00 2e00] length=3 width=3 238 start=0 width=1 result=[2e00 2e00 2e00] length=3 width=3 243 String length: 39 251 start=-30 width=5 result=[a4cf 2e 2e 2e] length=4 width=5 252 start=9 width=5 result=[a4cf 2e 2e 2e] length=4 width=5 255 start=39 width=10 result=[] length=0 width=0 263 start=1 width=0 result=[2e 2e 2e] length=3 width=3 265 start=0 width=10 result=[3f 3f 3f] length=3 width=3 [all …]
|
H A D | mb_stripos_variation5_Bug45923.phpt | 9 * The character length of $string_ascii and $string_mb is the same,
|
H A D | mb_strpos_variation5.phpt | 9 * The character length of $string_ascii and $string_mb is the same,
|
H A D | mb_strripos_variation5_Bug45923.phpt | 9 * The character length of $string_ascii and $string_mb is the same,
|
H A D | mb_substr_error2.phpt | 15 $length = 5; 19 var_dump( mb_substr($str, $start, $length, $encoding));
|
H A D | mb_substr_variation4.phpt | 34 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length 37 echo "Difference in length of ASCII string and multibyte string\n";
|
H A D | mb_substr_variation5.phpt | 2 Test mb_substr() function : usage variations - pass different integers to $length arg 8 * Test how mb_substr() behaves when passed a range of integers as $length argument 35 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length 38 echo "Difference in length of ASCII string and multibyte string\n";
|
H A D | mb_substr_variation6.phpt | 39 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length 42 echo "Difference in length of ASCII string and multibyte string\n";
|
H A D | mb_substr_variation7.phpt | 2 Test mb_substr() function : usage variations - pass different integers to $length arg 8 * Test how mb_substr() behaves when passed a range of integers as $length argument 40 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length 43 echo "Difference in length of ASCII string and multibyte string\n";
|