|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2015-02-27 05:09 UTC] yohgaki@php.net
-Assigned To:
+Assigned To: yohgaki
[2017-01-04 06:59 UTC] krakjoe@php.net
-Status: Assigned
+Status: Closed
[2017-01-04 06:59 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 04:00:01 2025 UTC |
Description: ------------ It is not enough to check the range of argument of mb_substitute_character. Consider UTF-8. For example, 0x1F600 (GRINNING FACE) is rejected. 0xD800 is accepted despite of high surrogate. Test script: --------------- var_dump( mb_substitute_character(0x1F600), mb_substitute_character(0xD800) ); Expected result: ---------------- bool(true) bool(false) Actual result: -------------- bool(false) bool(true)