mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0'
This commit is contained in:
commit
14e790a075
2 changed files with 15 additions and 1 deletions
|
@ -459,8 +459,12 @@ static php_mb_regex_t *php_mbregex_compile_pattern(const char *pattern, int patl
|
|||
retval = NULL;
|
||||
goto out;
|
||||
}
|
||||
if (rc == MBREX(search_re)) {
|
||||
/* reuse the new rc? see bug #72399 */
|
||||
MBREX(search_re) = NULL;
|
||||
}
|
||||
zend_hash_str_update_ptr(&MBREX(ht_rc), (char *)pattern, patlen, retval);
|
||||
} else if (rc) {
|
||||
} else {
|
||||
retval = rc;
|
||||
}
|
||||
out:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue