Home
last modified time | relevance | path

Searched refs:mb_trim (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/mbstring/tests/
H A Dmb_trim.phpt2 mb_trim() function tests
10 var_dump('ABC' === mb_trim('ABC'));
13 var_dump('ABC' === mb_trim(" \0\t\nABC \0\t\n"));
20 var_dump(mb_trim(""));
26 var_dump(mb_trim(" あいうえおあお ", " ", "UTF-8"));
33 var_dump(mb_trim(" あいうおえお  あ", " あ", "UTF-8"));
34 var_dump(mb_trim(" あいうおえお  あ", "あ ", "UTF-8"));
39 var_dump(mb_trim(str_repeat(" ", 129)));
40 var_dump(mb_trim(str_repeat(" ", 129) . "a"));
66 var_dump(mb_trim(" abcd ", ""));
[all …]
H A Dgh13815.phpt2 GH-13815 (mb_trim() inaccurate $characters default value)
8 var_dump(mb_strlen(mb_trim($strUtf8)));
9 var_dump(mb_strlen(mb_trim($strUtf8, encoding: 'UTF-8')));
13 var_dump(mb_strlen(mb_trim($strSjis)));
14 var_dump(mb_strlen(mb_trim($strSjis, encoding: 'Shift_JIS')));
/php-src/ext/mbstring/
H A Dmbstring_arginfo.h327 ZEND_FUNCTION(mb_trim);
396 ZEND_FE(mb_trim, arginfo_mb_trim)
H A Dmbstring.stub.php142 function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string {} function
H A Dmbstring.c3164 PHP_FUNCTION(mb_trim) in PHP_FUNCTION() argument

Completed in 35 milliseconds