Home
last modified time | relevance | path

Searched refs:mb_substitute_character (Results 1 – 14 of 14) sorted by relevance

/PHP-8.0/ext/mbstring/tests/
H A Dmb_substitute_character_basic.phpt2 Test mb_substitute_character() function : basic functionality
13 var_dump( mb_substitute_character() );
14 var_dump( mb_substitute_character(66) );
15 var_dump( mb_substitute_character() );
16 var_dump( mb_substitute_character(1234) );
17 var_dump( mb_substitute_character() );
18 var_dump( mb_substitute_character('none') );
19 var_dump( mb_substitute_character() );
21 var_dump( mb_substitute_character('LoNg') );
22 var_dump( mb_substitute_character() );
[all …]
H A Dmb_substitute_character.phpt2 mb_substitute_character()
10 var_dump(mb_substitute_character(0x3044));
11 var_dump(mb_substitute_character());
14 var_dump(mb_substitute_character('long'));
15 var_dump(mb_substitute_character());
18 var_dump(mb_substitute_character('none'));
19 var_dump(mb_substitute_character());
22 var_dump(mb_substitute_character('entity'));
23 var_dump(mb_substitute_character());
27 var_dump(mb_substitute_character('BAD_NAME'));
[all …]
H A Dbug69079.phpt2 Bug #69079 (enhancement for mb_substitute_character)
9 var_dump(mb_substitute_character(0x1F600));
11 mb_substitute_character(0x3f); // Reset to '?', as the next call will fail
13 var_dump(mb_substitute_character(0xD800)); // Surrogate (illegal)
21 mb_substitute_character(0x63); // Reset to '?', as the next call will fail
23 mb_substitute_character(0x8fa1ef); // EUC-JP-2004 encoding of U+50AA (illegal)
29 mb_substitute_character(0x50aa);
36 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
38 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
H A Dmb_substitute_character_variation_strict_types.phpt2 Test mb_substitute_character() function : usage variation
11 echo "*** Testing mb_substitute_character(): various types in strict typing mode ***\n";
102 var_dump( mb_substitute_character($value) );
112 *** Testing mb_substitute_character(): various types in strict typing mode ***
120 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
122 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
124 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
126 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
144 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
146 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
[all …]
H A Dmb_substitute_character_variation2.phpt2 Test mb_substitute_character() function : variation unmappable out char for convert encoding
9 echo "*** Testing mb_substitute_character() : variation ***\n";
16 mb_substitute_character(66); //'B' in ISO-8859-1, x42
18 mb_substitute_character("none"); //no substitution
20 mb_substitute_character(280); //not valid in ISO-8859-1
26 *** Testing mb_substitute_character() : variation ***
H A Dmb_substitute_character_variation_weak_types.phpt2 Test mb_substitute_character() function : usage variation
9 echo "*** Testing mb_substitute_character(): various types in weak typing mode ***\n";
100 var_dump( mb_substitute_character($value) );
110 *** Testing mb_substitute_character(): various types in weak typing mode ***
118 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
122 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
124 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) must be "none", "long", …
130 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
132 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
134 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…
[all …]
H A Dbug69086.phpt7 mb_substitute_character(0xfffd);
13 mb_substitute_character(0xfffd);
H A Dbug76319.phpt7 mb_substitute_character(0xFFFD);
H A Dbug65045.phpt17 mb_substitute_character(0xFFFD);
H A Dillformed_utf_sequences.phpt20 mb_substitute_character(0xfffd);
H A Dpictogram1.phpt7 mb_substitute_character(0x3f);
/PHP-8.0/ext/mbstring/
H A Dmbstring_arginfo.h311 ZEND_FUNCTION(mb_substitute_character);
405 ZEND_FE(mb_substitute_character, arginfo_mb_substitute_character)
H A Dmbstring.stub.php15 function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool {} function
H A Dmbstring.c1429 PHP_FUNCTION(mb_substitute_character) in PHP_FUNCTION() argument

Completed in 48 milliseconds