Merge branch 'PHP-8.0' into PHP-8.1

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

View file

@ -1206,7 +1206,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();
}
}