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

@ -6,7 +6,7 @@
function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {}
/** @param array $matches */
function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false|null {}
function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset = 0): int|false {}
/**
* @param int $count