Merge branch 'PHP-8.1'

* PHP-8.1:
  Clarify that preg_match_all() cannot return null
This commit is contained in:
Nikita Popov 2021-11-18 10:37:36 +01:00
commit 2791afbf07
3 changed files with 4 additions and 10 deletions

View file

@ -1207,7 +1207,7 @@ PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str,
if (subpats != NULL) {
subpats = zend_try_array_init(subpats);
if (!subpats) {
return;
RETURN_THROWS();
}
}