Searched refs:mb_substitute_character (Results 1 – 25 of 55) sorted by relevance
123
2 Test mb_substitute_character() function : basic functionality11 var_dump( mb_substitute_character() );12 var_dump( mb_substitute_character(66) );13 var_dump( mb_substitute_character() );14 var_dump( mb_substitute_character(1234) );15 var_dump( mb_substitute_character() );16 var_dump( mb_substitute_character('none') );17 var_dump( mb_substitute_character() );19 var_dump( mb_substitute_character('LoNg') );20 var_dump( mb_substitute_character() );[all …]
2 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 …]
2 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 fail13 var_dump(mb_substitute_character(0xD800)); // Surrogate (illegal)21 mb_substitute_character(0x63); // Reset to '?', as the next call will fail23 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 codepoint38 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
2 Test mb_substitute_character() function : usage variation9 echo "*** Testing mb_substitute_character(): various types in strict typing mode ***\n";100 var_dump( mb_substitute_character($value) );110 *** Testing mb_substitute_character(): various types in strict typing mode ***118 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint120 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…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…142 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…[all …]
2 Test mb_substitute_character() function : variation unmappable out char for convert encoding7 echo "*** Testing mb_substitute_character() : variation ***\n";14 mb_substitute_character(66); //'B' in ISO-8859-1, x4216 mb_substitute_character("none"); //no substitution18 mb_substitute_character(280); //not valid in ISO-8859-124 *** Testing mb_substitute_character() : variation ***
2 Test mb_substitute_character() function : usage variation7 echo "*** Testing mb_substitute_character(): various types in weak typing mode ***\n";98 var_dump( mb_substitute_character($value) );108 *** Testing mb_substitute_character(): various types in weak typing mode ***116 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint124 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint126 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) must be "none", "long", …134 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…136 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…138 TypeError: mb_substitute_character(): Argument #1 ($substitute_character) must be of type string|in…[all …]
7 mb_substitute_character(0xfffd);13 mb_substitute_character(0xfffd);
13 mb_substitute_character(0x25); // '%'32 mb_substitute_character("long");37 mb_substitute_character(0x1234);
15 mb_substitute_character("long");20 mb_substitute_character(0x1234);
8 mb_substitute_character(0x25);16 mb_substitute_character("long");
7 mb_substitute_character(0xFFFD);
14 mb_substitute_character(0x25); // '%'29 mb_substitute_character("long");
20 mb_substitute_character("long");25 mb_substitute_character(0x1234);
8 mb_substitute_character(0x25);24 mb_substitute_character("long");
13 mb_substitute_character(0x25); // '%'38 mb_substitute_character("long");
15 mb_substitute_character("long");
14 mb_substitute_character(0x1234);
15 mb_substitute_character(0x1234);
18 mb_substitute_character("long");
13 mb_substitute_character(0xFFFD);
Completed in 22 milliseconds