Home
last modified time | relevance | path

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

/PHP-8.0/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);
80 $s = mb_detect_encoding(1234, 'EUC-JP');
[all …]
H A Dmb_detect_encoding_empty_encoding_list.phpt2 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 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-8.0/ext/standard/tests/file/windows_mb_path/
H A Dbug54028.phpt33 printf("Encoding: %s\n", mb_detect_encoding($content));
/PHP-8.0/ext/mbstring/
H A Dmbstring_arginfo.h334 ZEND_FUNCTION(mb_detect_encoding);
428 ZEND_FE(mb_detect_encoding, arginfo_mb_detect_encoding)
H A Dmbstring.stub.php62 function mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = fal… function
H A Dmbstring.c2686 PHP_FUNCTION(mb_detect_encoding) in PHP_FUNCTION() argument

Completed in 25 milliseconds