Searched refs:mb_detect_encoding (Results 1 – 6 of 6) sorted by relevance
/PHP-7.4/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); 87 $s = mb_detect_encoding($s, 'BAD'); [all …]
|
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-7.4/ext/standard/tests/file/windows_mb_path/ |
H A D | bug54028.phpt | 33 printf("Encoding: %s\n", mb_detect_encoding($content));
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.h | 97 PHP_FUNCTION(mb_detect_encoding);
|
H A D | mbstring.c | 566 PHP_FE(mb_detect_encoding, arginfo_mb_detect_encoding) 3542 PHP_FUNCTION(mb_detect_encoding) in PHP_FUNCTION() argument
|
Completed in 18 milliseconds