]> granicus.if.org Git - php/commit
Fix bug #73948
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 19 Mar 2019 11:11:05 +0000 (12:11 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 21 Mar 2019 08:50:20 +0000 (09:50 +0100)
commit6311581ac64372164de7ba24f086eb3b0b91eabb
tree2792a341f9ee909677386a7a4f1ec12a8120fda6
parentc1095cfed7af03d5870e891fab3cf33d0ff43921
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.
NEWS
UPGRADING
ext/pcre/php_pcre.c
ext/pcre/tests/bug61780_1.phpt
ext/pcre/tests/bug61780_2.phpt
ext/pcre/tests/preg_replace_callback_flags.phpt