mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
This commit is contained in:
commit
6aaef1ed34
4 changed files with 48 additions and 5 deletions
|
@ -1297,7 +1297,7 @@ _php_mb_regex_ereg_search_exec(INTERNAL_FUNCTION_PARAMETERS, int mode)
|
|||
break;
|
||||
}
|
||||
end = MBREX(search_regs)->end[0];
|
||||
if (pos < end) {
|
||||
if (pos <= end) {
|
||||
MBREX(search_pos) = end;
|
||||
} else {
|
||||
MBREX(search_pos) = pos + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue