]> granicus.if.org Git - php/commit
Fix #76999: mb_regex_set_options() return current options
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 13 Mar 2020 14:48:53 +0000 (15:48 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 27 Mar 2020 09:34:16 +0000 (10:34 +0100)
commit9e77d5a9da9e80a1bfe226f60ccb12fd8bf9481c
tree14fd42aa401d1a007a0c5ca85382b7eb26015d6a
parent150df5b17c371f6e6a552b88435afaca0d1ad096
Fix #76999: mb_regex_set_options() return current options

When setting new options, `mb_regex_set_options()` is supposed to
return the *previous* options.
NEWS
ext/mbstring/php_mbregex.c
ext/mbstring/tests/bug76999.phpt [new file with mode: 0644]