1--TEST--
2mb_encode_numericentity() with 0xFFFFFFFF in conversion map
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
7--FILE--
8<?php
9
10// Regression test; the old implementation could only emit hexadecimal entities with about 5 digits
11$convmap = [0xffffffff, 0xffffffff, 0x540a0af7, 0x5a485054];
12echo "13: " . mb_encode_numericentity("\xFF", $convmap, "ASCII", true) . "\n";
13
14?>
15--EXPECT--
1613: &#x50080054;
17