/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_strlen.phpt | 2 mb_strlen() 20 print mb_strlen($ascii,'ASCII') . "\n"; 24 print mb_strlen($euc_jp,'EUC-JP') . "\n"; 30 print mb_strlen($sjis,'SJIS') . "\n"; 35 print mb_strlen("\x80\xA1", 'SJIS') . "\n"; 36 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS') . "\n"; 39 print mb_strlen("\x80\xA1", "CP932") . "\n"; 48 print mb_strlen("\x80\xA1", 'SJIS-2004') . "\n"; 65 print mb_strlen($jis,'JIS') . "\n"; 71 print mb_strlen($utf8,'UTF-8') . "\n"; [all …]
|
H A D | mb_strlen_error2.phpt | 2 Test mb_strlen() function : error conditions - pass an unknown encoding 8 * Test mb_strlen when passed an unknown encoding 11 echo "*** Testing mb_strlen() : error ***\n"; 18 var_dump(mb_strlen($string, $encoding)); 25 *** Testing mb_strlen() : error *** 26 mb_strlen(): Argument #2 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_strlen_basic.phpt | 2 Test mb_strlen() function : basic functionality 8 * Test basic functionality of mb_strlen() 11 echo "*** Testing mb_strlen() : basic functionality***\n"; 18 var_dump(mb_strlen($string_ascii)); 21 var_dump(mb_strlen($string_mb, 'UTF-8')); 26 *** Testing mb_strlen() : basic functionality***
|
H A D | internal_encoding.phpt | 11 var_dump(mb_strlen("\xc3\xb6")); 16 var_dump(mb_strlen("\xc3\xb6")); 22 var_dump(mb_strlen("\xc3\xb6")); 28 var_dump(mb_strlen("\xc3\xb6")); 33 var_dump(mb_strlen("\xc3\xb6")); 39 var_dump(mb_strlen("\xc3\xb6")); 45 var_dump(mb_strlen("\xc3\xb6"));
|
H A D | bug54494.phpt | 20 $length = mb_strlen($string, $mode); 36 $length = mb_strlen($string, $mode);
|
H A D | mb_strlen_variation3.phpt | 2 Test mb_strlen() function : usage variations - Pass list of encodings 8 * Pass all encodings listed on php.net to mb_strlen to test that function recognises them 13 echo "*** Testing mb_strlen() : usage variations ***\n"; 82 if(mb_strlen($string_ascii, $enc)) { 89 if(mb_strlen($string_mb, $enc)){ 100 *** Testing mb_strlen() : usage variations *** 339 Deprecated: mb_strlen(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decod… 347 Deprecated: mb_strlen(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, h…
|
H A D | mb_str_unknown_encoding.phpt | 72 mb_strlen('coudenys', 'UTF-0'); 155 mb_strlen(): Argument #2 ($encoding) must be a valid encoding, "UTF-0" given
|
H A D | mb_stripos_invalid_offset.phpt | 15 $slen = mb_strlen($string);
|
H A D | mb_strpos_invalid_offset.phpt | 15 $slen = mb_strlen($string);
|
H A D | mb_substr_variation4.phpt | 34 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
|
H A D | mb_substr_variation5.phpt | 35 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
|
H A D | mb_substr_variation6.phpt | 39 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
|
H A D | mb_substr_variation7.phpt | 40 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
|
H A D | mb_strpos.phpt | 16 $slen = mb_strlen($euc_jp, 'EUC-JP');
|
H A D | mb_strimwidth.phpt | 28 print "] length=" . mb_strlen($result, $encoding); 41 print "String length: " . mb_strlen($utf16le, 'UTF-16LE') . "\n"; 81 print "String length: " . mb_strlen($euc_jp, 'EUC-JP') . "\n";
|
H A D | mb_stripos.phpt | 16 $slen = mb_strlen($euc_jp, 'EUC-JP');
|
/PHP-8.2/ext/pdo_oci/tests/ |
H A D | bug60994.phpt | 44 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL; 45 echo 'size of stream1 is ', strlen($stream1), ' bytes, ', mb_strlen($stream1), ' chars.', PHP_EOL; 64 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL; 65 echo 'size of stream2 is ', strlen($stream2), ' bytes, ', mb_strlen($stream2), ' chars.', PHP_EOL; 84 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL; 85 echo 'size of stream3 is ', strlen($stream3), ' bytes, ', mb_strlen($stream3), ' chars.', PHP_EOL; 104 echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), ' chars.', PHP_EOL; 105 echo 'size of stream4 is ', strlen($stream4), ' bytes, ', mb_strlen($stream4), ' chars.', PHP_EOL;
|
/PHP-8.2/ext/oci8/tests/ |
H A D | bug70700.phpt | 62 echo 'size of string1 is ', strlen($string1), ' bytes, ', mb_strlen($string1), ' chars.', PHP_EOL; 63 echo 'size of stream1a is ', strlen($stream1a), ' bytes, ', mb_strlen($stream1a), ' chars.', PHP_EO… 93 echo 'size of string2 is ', strlen($string2), ' bytes, ', mb_strlen($string2), ' chars.', PHP_EOL; 94 echo 'size of stream2a is ', strlen($stream2a), ' bytes, ', mb_strlen($stream2a), ' chars.', PHP_EO… 124 echo 'size of string3 is ', strlen($string3), ' bytes, ', mb_strlen($string3), ' chars.', PHP_EOL; 125 echo 'size of stream3a is ', strlen($stream3a), ' bytes, ', mb_strlen($stream3a), ' chars.', PHP_EO… 155 echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), ' chars.', PHP_EOL; 156 echo 'size of stream4a is ', strlen($stream4a), ' bytes, ', mb_strlen($stream4a), ' chars.', PHP_EO…
|
/PHP-8.2/ext/odbc/tests/ |
H A D | bug60616.phpt | 45 $euc_jp_check = $euc_jp . str_repeat(" ", (200 - mb_strlen($euc_jp)));
|
/PHP-8.2/ext/mbstring/ |
H A D | mbstring_arginfo.h | 316 ZEND_FUNCTION(mb_strlen); 410 ZEND_FE(mb_strlen, arginfo_mb_strlen)
|
H A D | mbstring.stub.php | 89 function mb_strlen(string $string, ?string $encoding = null): int {} function
|
H A D | mbstring.c | 1854 PHP_FUNCTION(mb_strlen) in PHP_FUNCTION() argument
|