Searched refs:mb_check_encoding (Results 1 – 20 of 20) sorted by relevance
/php-src/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 | mb_scrub.phpt | 15 if (!mb_check_encoding($utf8str, '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 | mb_strlen.phpt | 84 mb_check_encoding($utf8); 85 mb_check_encoding($long_utf8); 90 mb_check_encoding($str, 'UTF-8');
|
H A D | other_encodings.phpt | 17 var_dump(mb_check_encoding(chr(255), '7bit'));
|
H A D | encoding_tests.inc | 71 if (mb_check_encoding($str, 'ASCII')) 77 $result = mb_check_encoding($goodString, $encoding); 79 … echo "mb_check_encoding failed on good $encoding string: " . dbgPrint($goodString) . PHP_EOL; 85 $result = mb_check_encoding($badString, $encoding); 87 echo "mb_check_encoding passed on bad $encoding string: " . dbgPrint($badString) . PHP_EOL;
|
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'));
|
H A D | mb_detect_encoding.phpt | 156 if (mb_check_encoding($str, $encoding))
|
H A D | utf_encodings.phpt | 826 if (mb_check_encoding($trunc, 'UTF-8'))
|
/php-src/ext/mbstring/ |
H A D | mbstring_arginfo.h | 341 ZEND_FUNCTION(mb_check_encoding); 410 ZEND_FE(mb_check_encoding, arginfo_mb_check_encoding)
|
H A D | mbstring.stub.php | 188 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} function
|
H A D | mbstring.c | 5623 PHP_FUNCTION(mb_check_encoding) in PHP_FUNCTION() argument
|
Completed in 40 milliseconds