Searched refs:mb_check_encoding (Results 1 – 17 of 17) sorted by relevance
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_check_encoding_invalid_encodings.phpt | 2 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 D | mb_check_encoding.phpt | 2 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 D | mb_check_encoding_array.phpt | 2 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 D | mb_check_encoding_without_arg.phpt | 2 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 D | bug45722.phpt | 2 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 D | bug81693.phpt | 2 Bug #81693 (mb_check_encoding(7bit) segfaults) 7 var_dump(mb_check_encoding('Hello world', '7bit'));
|
H A D | bug77165.phpt | 2 Bug #77165: mb_check_encoding crashes when argument given an empty array 7 var_dump(mb_check_encoding(array()));
|
H A D | bug78609.phpt | 2 Bug #78609 (mb_check_encoding() no longer supports stringable objects) 15 var_dump(mb_check_encoding(new Foo, 'UTF-8'));
|
H A D | gh10648.phpt | 2 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 D | encoding_tests.inc | 51 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 D | other_encodings.phpt | 17 var_dump(mb_check_encoding(chr(255), '7bit'));
|
H A D | gh10192_utf7imap.phpt | 57 var_dump(mb_check_encoding($case, 'UTF7-IMAP'));
|
H A D | gh10192_utf7.phpt | 69 var_dump(mb_check_encoding($case, 'UTF-7'));
|
/PHP-8.2/ext/mbstring/ |
H A D | mbstring_arginfo.h | 345 ZEND_FUNCTION(mb_check_encoding); 439 ZEND_FE(mb_check_encoding, arginfo_mb_check_encoding)
|
H A D | mbstring.stub.php | 179 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} function
|
H A D | mbstring.c | 4524 PHP_FUNCTION(mb_check_encoding) in PHP_FUNCTION() argument
|
/PHP-8.2/ |
H A D | UPGRADING | 222 . mb_check_encoding() now checks input encoding more strictly for
|
Completed in 46 milliseconds