Home
last modified time | relevance | path

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

/PHP-7.4/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 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 Dbug49536.phpt2 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 Dbug75944.phpt7 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 Dbug54028.phpt33 printf("Encoding: %s\n", mb_detect_encoding($content));
/PHP-7.4/ext/mbstring/
H A Dmbstring.h97 PHP_FUNCTION(mb_detect_encoding);
H A Dmbstring.c566 PHP_FE(mb_detect_encoding, arginfo_mb_detect_encoding)
3542 PHP_FUNCTION(mb_detect_encoding) in PHP_FUNCTION() argument

Completed in 18 milliseconds