Home
last modified time | relevance | path

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

/PHP-8.2/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 Dmb_strimwidth.phpt20 return mb_strwidth($char, $encoding);
29 print " width=" . mb_strwidth($result, $encoding) . "\n";
42 print "String width: " . mb_strwidth($utf16le, 'UTF-16LE') . "\n";
82 print "String width: " . mb_strwidth($euc_jp, 'EUC-JP') . "\n";
173 if (mb_strwidth($result, 'ASCII') !== $width)
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.2/ext/mbstring/
H A Dmbstring_arginfo.h328 ZEND_FUNCTION(mb_strwidth);
422 ZEND_FE(mb_strwidth, arginfo_mb_strwidth)
H A Dmbstring.stub.php119 function mb_strwidth(string $string, ?string $encoding = null): int {} function
H A Dmbstring.c2340 PHP_FUNCTION(mb_strwidth) in PHP_FUNCTION() argument

Completed in 27 milliseconds