Home
last modified time | relevance | path

Searched refs:mb_strimwidth (Results 1 – 11 of 11) sorted by relevance

/PHP-8.2/ext/mbstring/tests/
H A Dbug79787.phpt2 Bug #79787 mb_strimwidth does not trim string
7 echo mb_strimwidth("一二三", 0, 4, '.', 'UTF-8')."\n";
8 echo mb_strimwidth("一二三", 0, 5, '.', 'UTF-8')."\n";
9 echo mb_strimwidth("一二三", 0, 6, '.', 'UTF-8')."\n";
10 echo mb_strimwidth("abcdef", 0, 4, '.', 'UTF-8')."\n";
11 echo mb_strimwidth("abcdef", 0, 5, '.', 'UTF-8')."\n";
12 echo mb_strimwidth("abcdef", 0, 6, '.', 'UTF-8')."\n";
H A Dbug46806.phpt2 Bug #46806 (mb_strimwidth cutting too early)
11 echo mb_strimwidth('helloworld', 0, 5, '...', 'UTF-8') . "\n";
12 echo mb_strimwidth('hello', 0, 5, '...', 'UTF-8');
H A Dgh9248.phpt2 Bug GH-9248 (Segmentation fault in mb_strimwidth())
7 var_dump(mb_strimwidth('The quick brown fox', 0, 8));
H A Dbug76532.phpt2 Bug #76532 (Integer overflow and excessive memory usage in mb_strimwidth)
9 var_dump(mb_strimwidth($string_to_trim, 0, $width));
H A Dmb_strimwidth.phpt2 mb_strimwidth()
25 $result = mb_strimwidth($string, $start, $width, $trimmark, $encoding);
121 var_dump(mb_strimwidth($euc_jp, 0, -100,'...','EUC-JP'));
126 var_dump(mb_strimwidth($euc_jp, 100, 10,'...','EUC-JP'));
131 var_dump(mb_strimwidth($euc_jp, -100, 10,'...','EUC-JP'));
136 var_dump(mb_strimwidth($euc_jp, -10, -21,'...','EUC-JP'));
150 mb_strimwidth($str, $from, $width, '...', 'ASCII');
248 mb_strimwidth(): Argument #3 ($width) is out of range
249 mb_strimwidth(): Argument #2 ($start) is out of range
250 mb_strimwidth(): Argument #2 ($start) is out of range
[all …]
H A Dmb_str_functions_opt-parameter.phpt17 echo mb_strimwidth('foobar', 0, 3, null, 'UTF-8') . "\n";
46 Deprecated: mb_strimwidth(): Passing null to parameter #4 ($trim_marker) of type string is deprecat…
H A Dmb_str_unknown_encoding.phpt54 mb_strimwidth('coudenys', 0, 4, '', 'UTF-0');
152 mb_strimwidth(): Argument #5 ($encoding) must be a valid encoding, "UTF-0" given
/PHP-8.2/ext/mbstring/
H A Dmbstring_arginfo.h329 ZEND_FUNCTION(mb_strimwidth);
423 ZEND_FE(mb_strimwidth, arginfo_mb_strimwidth)
H A Dmbstring.stub.php121 function mb_strimwidth(string $string, int $start, int $width, string $trim_marker = "", ?string $e… function
H A Dmbstring.c2511 PHP_FUNCTION(mb_strimwidth) in PHP_FUNCTION() argument
/PHP-8.2/
H A DNEWS2189 . Fixed bug GH-9248 (Segmentation fault in mb_strimwidth()). (cmb)

Completed in 26 milliseconds