Searched refs:mb_detect_encoding (Results 1 – 8 of 8) sorted by relevance
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_detect_encoding.phpt | 2 mb_detect_encoding() 22 $s = mb_detect_encoding($s, 'SJIS'); 26 $s = mb_detect_encoding($s, 'JIS'); 46 $s = mb_detect_encoding($s, $a); 50 $s = mb_detect_encoding($s, $a); 54 $s = mb_detect_encoding($s, $a); 65 $s = mb_detect_encoding($s); 69 $s = mb_detect_encoding($s); 73 $s = mb_detect_encoding($s); 80 $s = mb_detect_encoding(1234, 'EUC-JP'); [all …]
|
H A D | mb_detect_encoding_empty_encoding_list.phpt | 2 Test mb_detect_encoding() function : empty encoding list 13 var_dump( mb_detect_encoding($string, '')); 18 var_dump( mb_detect_encoding($string, [])); 25 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding 26 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
|
H A D | bug49536.phpt | 2 Bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on) 8 var_dump(mb_detect_encoding("A\x81", "SJIS", false)); 10 var_dump(mb_detect_encoding("A\x81", "SJIS", true)); 12 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", false)); 14 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", true));
|
H A D | bug75944.phpt | 7 var_dump(mb_detect_encoding(chr(0xfe), array('CP-1251'))); // letter '?' 8 var_dump(mb_detect_encoding(chr(0xff), array('CP-1251'))); // letter '?'
|
/PHP-8.0/ext/standard/tests/file/windows_mb_path/ |
H A D | bug54028.phpt | 33 printf("Encoding: %s\n", mb_detect_encoding($content));
|
/PHP-8.0/ext/mbstring/ |
H A D | mbstring_arginfo.h | 334 ZEND_FUNCTION(mb_detect_encoding); 428 ZEND_FE(mb_detect_encoding, arginfo_mb_detect_encoding)
|
H A D | mbstring.stub.php | 62 function mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = fal… function
|
H A D | mbstring.c | 2686 PHP_FUNCTION(mb_detect_encoding) in PHP_FUNCTION() argument
|
Completed in 20 milliseconds