Skip to content

Commit 2fec8b1

Browse files
committed
Merge branch 'PHP-7.3'
* PHP-7.3: Fix #76706: mbstring.http_output_conv_mimetypes is ignored
2 parents a0970bb + 70ecb6e commit 2fec8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ static int _php_mb_match_regex(void *opaque, const char *str, size_t str_len)
10681068
php_error_docref(NULL, E_WARNING, "Cannot allocate match data");
10691069
return FAILURE;
10701070
}
1071-
res = pcre2_match(opaque, (PCRE2_SPTR)str, str_len, 0, 0, match_data, php_pcre_mctx());
1071+
res = pcre2_match(opaque, (PCRE2_SPTR)str, str_len, 0, 0, match_data, php_pcre_mctx()) >= 0;
10721072
php_pcre_free_match_data(match_data);
10731073

10741074
return res;

0 commit comments

Comments
 (0)