ID: 40685 Updated by: [EMAIL PROTECTED] Reported By: dq2 at compass dot jp -Status: Open +Status: Bogus Bug Type: mbstring related Operating System: winXP PHP Version: 4.4.6 New Comment:
"&&&" is not a numeric entity. Previous Comments: ------------------------------------------------------------------------ [2007-03-01 20:49:18] dq2 at compass dot jp Description: ------------ mb_decode_numericentity converts '&&&' string to '&&' Reproduce code: --------------- $s = '&'; echo mb_decode_numericentity($s, array(0, 0x10FFFF, 0, 0xFFFFFF), 'utf-8'). "\n"; $s = '&&&'; echo mb_decode_numericentity($s, array(0, 0x10FFFF, 0, 0xFFFFFF), 'utf-8'). "\n"; Expected result: ---------------- (none) && (where is a '&'?) Actual result: -------------- & &&& ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40685&edit=1