mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() When adding the last element to the result value of `mb_split`, the `chunk_pos` may point beyond the end of the string, in which case the unsigned `n` would underflow. Therefore, we check whether this is the case in the first place, and only calculate `n` otherwise. Since `n` is no longer used outside the block, we move its declaration inside. |
||
---|---|---|
.. | ||
libmbfl | ||
oniguruma | ||
tests | ||
ucgendat | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
mb_gpc.c | ||
mb_gpc.h | ||
mbstring.c | ||
mbstring.h | ||
oniguruma.patch | ||
php_mbregex.c | ||
php_mbregex.h | ||
php_onig_compat.h | ||
php_unicode.c | ||
php_unicode.h | ||
unicode_data.h |