diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-04 23:24:04 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-04 23:24:04 +0200 |
commit | 70ecb6e50b983419f6a2d5e028f9779354047ec1 (patch) | |
tree | c5f39fc547292eddf84f8d1122ea811b2e65e8bb /sapi/phpdbg/phpdbg.c | |
parent | 99020cc085063819ab6cecb5a4594b90d0ec6e7f (diff) | |
download | php-git-70ecb6e50b983419f6a2d5e028f9779354047ec1.tar.gz |
Fix #76706: mbstring.http_output_conv_mimetypes is ignored
_php_mb_match_regex() is supposed to return != 0 on success, and 0 on
failure. pcre2_match() returns >= 0 on success, and < 0 on failure.
We map the result accordingly.
Since this patch fixes four failing tests, there is no need to add
another.
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
0 files changed, 0 insertions, 0 deletions