Searched refs:mb_strimwidth (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/mbstring/tests/ |
H A D | bug79787.phpt | 2 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 D | bug46806.phpt | 2 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 D | mb_strimwidth_deprecated.phpt | 2 mb_strimwidth() is deprecated with negative width 7 var_dump(mb_strimwidth("some string", 1, -2, '...', 'ASCII')); 10 Deprecated: mb_strimwidth(): passing a negative integer to argument #3 ($width) is deprecated in %s…
|
H A D | gh9248.phpt | 2 Bug GH-9248 (Segmentation fault in mb_strimwidth()) 7 var_dump(mb_strimwidth('The quick brown fox', 0, 8));
|
H A D | bug76532.phpt | 2 Bug #76532 (Integer overflow and excessive memory usage in mb_strimwidth) 9 var_dump(mb_strimwidth($string_to_trim, 0, $width));
|
H A D | mb_strimwidth.phpt | 2 mb_strimwidth() 25 $result = mb_strimwidth($string, $start, $width, $trimmark, $encoding); 126 var_dump(@mb_strimwidth($euc_jp, 0, -100,'...','EUC-JP')); 131 var_dump(mb_strimwidth($euc_jp, 100, 10,'...','EUC-JP')); 136 var_dump(mb_strimwidth($euc_jp, -100, 10,'...','EUC-JP')); 142 var_dump(@mb_strimwidth($euc_jp, -10, -21,'...','EUC-JP')); 157 @mb_strimwidth($str, $from, $width, '...', 'ASCII'); 257 mb_strimwidth(): Argument #3 ($width) is out of range 258 mb_strimwidth(): Argument #2 ($start) is out of range 259 mb_strimwidth(): Argument #2 ($start) is out of range [all …]
|
H A D | mb_str_functions_opt-parameter.phpt | 17 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 D | mb_str_unknown_encoding.phpt | 54 mb_strimwidth('coudenys', 0, 4, '', 'UTF-0'); 152 mb_strimwidth(): Argument #5 ($encoding) must be a valid encoding, "UTF-0" given
|
/php-src/ext/mbstring/ |
H A D | mbstring_arginfo.h | 320 ZEND_FUNCTION(mb_strimwidth); 389 ZEND_FE(mb_strimwidth, arginfo_mb_strimwidth)
|
H A D | mbstring.stub.php | 121 function mb_strimwidth(string $string, int $start, int $width, string $trim_marker = "", ?string $e… function
|
H A D | mbstring.c | 2648 PHP_FUNCTION(mb_strimwidth) in PHP_FUNCTION() argument
|
Completed in 27 milliseconds