diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-19 12:11:05 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-21 09:50:20 +0100 |
| commit | 6311581ac64372164de7ba24f086eb3b0b91eabb (patch) | |
| tree | 2792a341f9ee909677386a7a4f1ec12a8120fda6 /UPGRADING | |
| parent | c1095cfed7af03d5870e891fab3cf33d0ff43921 (diff) | |
| download | php-git-6311581ac64372164de7ba24f086eb3b0b91eabb.tar.gz | |
Fix bug #73948
If PREG_UNMATCHED_AS_NULL is used, make sure that unmatched capturing
groups at the end are also set to null, rather than just those in the
middle.
Diffstat (limited to 'UPGRADING')
| -rw-r--r-- | UPGRADING | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -50,6 +50,11 @@ PHP 7.4 UPGRADE NOTES function does not throw, so explicitly checking it is not necessary. RFC: http://php.net/manual/de/function.openssl-random-pseudo-bytes.php +- PCRE: + . When PREG_UNMATCHED_AS_NULL mode is used, trailing unmatched capturing + groups will now also be set to null (or [null, -1] if offset capture is + enabled). This means that the size of the $matches will always be the same. + - PEAR: . Installation of PEAR (including PECL) is no longer enabled by default. It can be explicitly enabled using --with-pear. This option is deprecated and |
