Home
last modified time | relevance | path

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

/PHP-8.0/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 Dbug77165.phpt2 Bug #77165: mb_check_encoding crashes when argument given an empty array
7 var_dump(mb_check_encoding(array()));
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"));
H A Dbug78609.phpt2 Bug #78609 (mb_check_encoding() no longer supports stringable objects)
17 var_dump(mb_check_encoding(new Foo, 'UTF-8'));
H A Dbug47399.phpt2 Bug #47399 (mb_check_encoding() returns true for some illegal SJIS characters)
9 var_dump(mb_check_encoding("\x81".pack("c", $a), $enc));
/PHP-8.0/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.php84 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} function
H A Dmbstring.c3987 PHP_FUNCTION(mb_check_encoding) in PHP_FUNCTION() argument

Completed in 31 milliseconds