mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
WS fixes
This commit is contained in:
parent
1ab38567b9
commit
859a1404bf
12 changed files with 43 additions and 49 deletions
|
@ -399,7 +399,7 @@ static unsigned int check_mb_utf16(const char *start, const char *end)
|
|||
if (start + 2 > end) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
if (UTF16_HIGH_HEAD(*start)) {
|
||||
return (start + 4 <= end) && UTF16_LOW_HEAD(start[2]) ? 4 : 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue