Searched refs:convmap (Results 1 – 1 of 1) sorted by relevance
141 public static function mb_decode_numericentity($s, $convmap, $encoding = null) argument149 if (!\is_array($convmap) || (80000 > \PHP_VERSION_ID && !$convmap)) {175 $cnt = floor(\count($convmap) / 4) * 4;179 $convmap[$i] += $convmap[$i + 2];180 $convmap[$i + 1] += $convmap[$i + 2];183 …_callback('/&#(?:0*([0-9]+)|x0*([0-9a-fA-F]+))(?!&);?/', function (array $m) use ($cnt, $convmap) {186 if ($c >= $convmap[$i] && $c <= $convmap[$i + 1]) {187 return self::mb_chr($c - $convmap[$i + 2]);201 public static function mb_encode_numericentity($s, $convmap, $encoding = null, $is_hex = false) argument209 if (!\is_array($convmap) || (80000 > \PHP_VERSION_ID && !$convmap)) {[all …]