Home
last modified time | relevance | path

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

/PHP-7.2/ext/mbstring/tests/
H A Dmb_substitute_character_basic.phpt2 Test mb_substitute_character() function : basic functionality
6 function_exists('mb_substitute_character') or die("skip mb_substitute_character() is not available …
10 /* Prototype : mixed mb_substitute_character([mixed substchar])
20 var_dump( mb_substitute_character() );
21 var_dump( mb_substitute_character(66) );
22 var_dump( mb_substitute_character() );
23 var_dump( mb_substitute_character(1234) );
24 var_dump( mb_substitute_character() );
25 var_dump( mb_substitute_character("none") );
26 var_dump( mb_substitute_character() );
[all …]
H A Dmb_substitute_character_error.phpt2 Test mb_substitute_character() function : error conditions
6 function_exists('mb_substitute_character') or die("skip mb_substitute_character() is not available …
10 /* Prototype : mixed mb_substitute_character([mixed substchar])
16 echo "*** Testing mb_substitute_character() : error conditions ***\n";
19 //Test mb_substitute_character with one more than the expected number of arguments
20 echo "\n-- Testing mb_substitute_character() function with more than expected no. of arguments --\n…
23 var_dump( mb_substitute_character($substchar, $extra_arg) );
28 *** Testing mb_substitute_character() : error conditions ***
30 -- Testing mb_substitute_character() function with more than expected no. of arguments --
32 Warning: mb_substitute_character() expects at most 1 parameter, 2 given in %s on line %d
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
12 var_dump(mb_substitute_character(0xD800)); // Surrogate (illegal)
17 mb_substitute_character(0x63); // Reset to '?', as the next call will fail
18 mb_substitute_character(0x8fa1ef); // EUC-JP-2004 encoding of U+50AA (illegal)
21 mb_substitute_character(0x50aa);
29 Warning: mb_substitute_character(): Unknown character in %s on line %d
33 Warning: mb_substitute_character(): Unknown character in %s on line %d
H A Dmb_substitute_character.phpt2 mb_substitute_character()
13 var_dump(mb_substitute_character(0x3044));
14 var_dump(mb_substitute_character());
17 var_dump(mb_substitute_character('long'));
18 var_dump(mb_substitute_character());
21 var_dump(mb_substitute_character('none'));
22 var_dump(mb_substitute_character());
25 var_dump(mb_substitute_character('entity'));
26 var_dump(mb_substitute_character());
29 var_dump(mb_substitute_character('BAD_NAME'));
H A Dmb_substitute_character_variation2.phpt2 Test mb_substitute_character() function : variation unmappable out char for convert encoding
6 function_exists('mb_substitute_character') or die("skip mb_substitute_character() is not available …
10 /* Prototype : mixed mb_substitute_character([mixed substchar])
16 echo "*** Testing mb_substitute_character() : variation ***\n";
23 mb_substitute_character(66); //'B' in ISO-8859-1, x42
25 mb_substitute_character("none"); //no substitution
27 mb_substitute_character(280); //not valid in ISO-8859-1
34 *** Testing mb_substitute_character() : variation ***
H A Dmb_substitute_character_variation1.phpt2 Test mb_substitute_character() function : usage variation
6 function_exists('mb_substitute_character') or die("skip mb_substitute_character() is not available …
10 /* Prototype : mixed mb_substitute_character([mixed substchar])
115 var_dump( mb_substitute_character($value) );
123 *** Testing mb_substitute_character() : usage variation ***
126 Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
136 Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
143 Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
147 Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
151 Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
[all …]
H A Dbug69086.phpt7 mb_substitute_character(0xfffd);
13 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-7.2/ext/mbstring/
H A Dmbstring.h102 PHP_FUNCTION(mb_substitute_character);
H A Dmbstring.c547 PHP_FE(mb_substitute_character, arginfo_mb_substitute_character)
2000 PHP_FUNCTION(mb_substitute_character) in PHP_FUNCTION() argument
/PHP-7.2/
H A DNEWS1521 . Fixed bug #69079 (enhancement for mb_substitute_character). (masakielastic)

Completed in 41 milliseconds