Searched refs:mb_strwidth (Results 1 – 7 of 7) sorted by relevance
/php-src/ext/mbstring/tests/ |
H A D | mb_strwidth.phpt | 2 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 D | unicode_versions.phpt | 10 print "ASCII (PHP): " . mb_strwidth('PHP', 'UTF-8') . "\n"; 12 print "Vietnamese (Xin chào): " . mb_strwidth('Xin chào', 'UTF-8') . "\n"; 14 print "Traditional Chinese (你好): " . mb_strwidth('你好', 'UTF-8') . "\n"; 16 print "Sinhalese (අයේෂ්): " . mb_strwidth('අයේෂ්', 'UTF-8') . "\n"; 18 print "Emoji (\u{1F418}): " . mb_strwidth("\u{1F418}", 'UTF-8') . "\n"; 21 print "Emoji (\u{1F6DC}): " . mb_strwidth("\u{1F6DC}", 'UTF-8') . "\n"; 24 print "Emoji (\u{2630}): " . mb_strwidth("\u{2630}", 'UTF-8') . "\n";
|
H A D | mb_str_unknown_encoding.phpt | 126 mb_strwidth('coudenys', 'UTF-0'); 164 mb_strwidth(): Argument #2 ($encoding) must be a valid encoding, "UTF-0" given
|
H A D | mb_strimwidth.phpt | 20 return mb_strwidth($char, $encoding); 29 print " width=" . mb_strwidth($result, $encoding) . "\n"; 42 print "String width: " . mb_strwidth($utf16le, 'UTF-16LE') . "\n"; 83 print "String width: " . mb_strwidth($euc_jp, 'EUC-JP') . "\n"; 181 if (mb_strwidth($result, 'ASCII') !== $width)
|
/php-src/ext/mbstring/ |
H A D | mbstring_arginfo.h | 319 ZEND_FUNCTION(mb_strwidth); 388 ZEND_FE(mb_strwidth, arginfo_mb_strwidth)
|
H A D | mbstring.stub.php | 119 function mb_strwidth(string $string, ?string $encoding = null): int {} function
|
H A D | mbstring.c | 2518 PHP_FUNCTION(mb_strwidth) in PHP_FUNCTION() argument
|
Completed in 26 milliseconds