Home
last modified time | relevance | path

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

/php-src/ext/mbstring/tests/
H A Dbug40685.phpt2 Bug #40685 (mb_decode_numericentity() removes '&' in the string)
8 var_dump(mb_decode_numericentity('&', $map, 'UTF-8'));
9 var_dump(mb_decode_numericentity('&&&', $map, 'UTF-8'));
10 var_dump(mb_decode_numericentity('&#', $map, 'UTF-8'));
11 var_dump(mb_decode_numericentity('&#x', $map, 'UTF-8'));
12 var_dump(mb_decode_numericentity('&#61', $map, 'UTF-8'));
13 var_dump(mb_decode_numericentity('&#x3d', $map, 'UTF-8'));
14 var_dump(mb_decode_numericentity('=', $map, 'UTF-8'));
15 var_dump(mb_decode_numericentity('=', $map, 'UTF-8'));
H A Dmb_decode_numericentity.phpt2 Test mb_decode_numericentity() function : Convert HTML entities to text
16 $result = mb_decode_numericentity($str, $convmap, $encoding);
25 $result = mb_decode_numericentity($str, $convmap, $encoding);
39 echo "1: " . mb_decode_numericentity($str1, $convmap, "UTF-8") . "\n";
40 echo "2: " . mb_decode_numericentity($str2, $convmap, "UTF-8") . "\n";
41 echo "3: " . mb_decode_numericentity($str3, $convmap, "UTF-8") . "\n";
62 echo "13: " . mb_decode_numericentity('föo', $convmap, "UTF-8") . "\n";
72 echo "17: " . mb_decode_numericentity('föo', $convmap, "UTF-8") . "\n";
111 // (mb_decode_numericentity splits its input into 'chunks' and processes it one
131 if (mb_decode_numericentity($str, $convmap, 'UTF-8') !== $str)
[all …]
H A Dmb_decode_numericentity_errors.phpt2 mb_decode_numericentity() map errors
9 echo mb_decode_numericentity('str', $convmap, "UTF-8") . "\n";
15 echo mb_decode_numericentity('str', $convmap, "UTF-8") . "\n";
22 mb_decode_numericentity(): Argument #2 ($map) must have a multiple of 4 elements
23 mb_decode_numericentity(): Argument #2 ($map) must only be composed of values of type int
H A Dhtmlent_encoding.phpt57 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
59 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
61 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
63 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
65 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
67 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
H A Dmb_decode_numericentity_large_ints.phpt2 mb_decode_numericentity() with 0xFFFFFFFF in conversion map
18 $result = mb_decode_numericentity($str, $convmap, $encoding);
27 $result = mb_decode_numericentity($str, $convmap, $encoding);
43 // Originally, the new implementation of mb_decode_numericentity used -1 as a marker indicating
48 // With the legacy conversion filters, a trailing & could be truncated by mb_decode_numericentity,
H A Dbug71606.phpt11 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
H A Dbug45722.phpt10 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
H A Dmb_str_unknown_encoding.phpt36 mb_decode_numericentity('coudenys', [], 'UTF-0');
149 mb_decode_numericentity(): Argument #3 ($encoding) must be a valid encoding, "UTF-0" given
H A Dmb_convert_encoding.phpt133 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
H A Dmb_strlen_variation3.phpt347 …; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead i…
/php-src/ext/mbstring/
H A Dmbstring_arginfo.h338 ZEND_FUNCTION(mb_decode_numericentity);
407 ZEND_FE(mb_decode_numericentity, arginfo_mb_decode_numericentity)
H A Dmbstring.stub.php178 function mb_decode_numericentity(string $string, array $map, ?string $encoding = null): string {} function
H A Dmbstring.c4264 PHP_FUNCTION(mb_decode_numericentity) in PHP_FUNCTION() argument

Completed in 47 milliseconds