Home
last modified time | relevance | path

Searched refs:mb_check_encoding (Results 1 – 17 of 17) sorted by relevance

/PHP-8.2/ext/mbstring/tests/
H A Dmb_check_encoding_invalid_encodings.phpt2 mb_check_encoding() with invalid encodings
13 var_dump(mb_check_encoding($str, 'BAD'));
18 var_dump(mb_check_encoding($arr, 'BAD'));
25 var_dump(mb_check_encoding($str, 'pass'));
30 var_dump(mb_check_encoding($arr, 'pass'));
38 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "BAD" given
39 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "BAD" given
41 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "pass" given
42 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "pass" given
H A Dmb_check_encoding.phpt2 mb_check_encoding()
11 var_dump(mb_check_encoding($str), mb_check_encoding($arr));
17 var_dump(mb_check_encoding($str), mb_check_encoding($arr1), mb_check_encoding($arr2));
H A Dmb_check_encoding_array.phpt2 mb_check_encoding() - Circular references
13 var_dump(mb_check_encoding($str), mb_check_encoding($arr));
23 var_dump(mb_check_encoding($str), mb_check_encoding($arr1), mb_check_encoding($arr2));
26 Warning: mb_check_encoding(): Cannot not handle circular references in %s on line %d
H A Dmb_check_encoding_without_arg.phpt2 Calling mb_check_encoding() without argument is deprecated
8 var_dump(mb_check_encoding());
12 Deprecated: mb_check_encoding(): Calling mb_check_encoding() without argument is deprecated in %s o…
H A Dbug45722.phpt2 Bug #45722 (mb_check_encoding() crashes)
7 var_dump(mb_check_encoding("&\xc2\xb7 TEST TEST TEST TEST TEST TEST", "HTML-ENTITIES"));
10 Deprecated: mb_check_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecial…
H A Dbug81693.phpt2 Bug #81693 (mb_check_encoding(7bit) segfaults)
7 var_dump(mb_check_encoding('Hello world', '7bit'));
H A Dbug77165.phpt2 Bug #77165: mb_check_encoding crashes when argument given an empty array
7 var_dump(mb_check_encoding(array()));
H A Dbug78609.phpt2 Bug #78609 (mb_check_encoding() no longer supports stringable objects)
15 var_dump(mb_check_encoding(new Foo, 'UTF-8'));
H A Dgh10648.phpt2 GH-10648 (mb_check_encoding() returns true for incorrect but interpretable ISO-2022-JP byte sequenc…
26 var_dump(mb_check_encoding(hex2bin($case), 'JIS'));
30 var_dump(mb_check_encoding(hex2bin($case), 'ISO-2022-JP'));
H A Dencoding_tests.inc51 if (mb_check_encoding($str, 'ASCII'))
57 $result = mb_check_encoding($goodString, $encoding);
59 die("mb_check_encoding failed on good $encoding string: " . dbgPrint($goodString));
63 $result = mb_check_encoding($badString, $encoding);
65 die("mb_check_encoding passed on bad $encoding string: " . dbgPrint($badString));
H A Dother_encodings.phpt17 var_dump(mb_check_encoding(chr(255), '7bit'));
H A Dgh10192_utf7imap.phpt57 var_dump(mb_check_encoding($case, 'UTF7-IMAP'));
H A Dgh10192_utf7.phpt69 var_dump(mb_check_encoding($case, 'UTF-7'));
/PHP-8.2/ext/mbstring/
H A Dmbstring_arginfo.h345 ZEND_FUNCTION(mb_check_encoding);
439 ZEND_FE(mb_check_encoding, arginfo_mb_check_encoding)
H A Dmbstring.stub.php179 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} function
H A Dmbstring.c4524 PHP_FUNCTION(mb_check_encoding) in PHP_FUNCTION() argument
/PHP-8.2/
H A DUPGRADING222 . mb_check_encoding() now checks input encoding more strictly for

Completed in 46 milliseconds