Home
last modified time | relevance | path

Searched refs:mb_strwidth (Results 1 – 7 of 7) sorted by relevance

/PHP-8.0/ext/mbstring/tests/
H A Dmb_strwidth.phpt2 mb_strwidth()
21 print "1: " . mb_strwidth($euc_jp, 'EUC-JP') . "\n";
22 print "2: " . mb_strwidth($utf8, 'UTF-8') . "\n";
23 print "3: " . mb_strwidth($utf16le, 'UTF-16LE') . "\n";
24 print "4: " . mb_strwidth($utf16be, 'UTF-16BE') . "\n";
25 print "5: " . mb_strwidth($koi8r, 'KOI8-R') . "\n";
H A Dbug28220.phpt2 Bug #28220 (mb_strwidth() returns wrong width values for some Hangul characters)
16 if (mb_strwidth(pack('N1', $c), 'UCS-4BE') != 2) {
H A Dmb_strimwidth.phpt14 print "String width: ".mb_strwidth($euc_jp,'EUC-JP')."\n";
H A Dmb_str_unknown_encoding.phpt126 mb_strwidth('coudenys', 'UTF-0');
164 mb_strwidth(): Argument #2 ($encoding) must be a valid encoding, "UTF-0" given
/PHP-8.0/ext/mbstring/
H A Dmbstring_arginfo.h328 ZEND_FUNCTION(mb_strwidth);
422 ZEND_FE(mb_strwidth, arginfo_mb_strwidth)
H A Dmbstring.stub.php50 function mb_strwidth(string $string, ?string $encoding = null): int {} function
H A Dmbstring.c2258 PHP_FUNCTION(mb_strwidth) in PHP_FUNCTION() argument

Completed in 17 milliseconds