summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-01-03 20:44:29 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-01-03 21:10:24 +0100
commitaadd3aaed902a8f21c11984687a4e3d414a2caed (patch)
tree0bfab8aacc7044d2ed66ce86d8c92c22721ec97d /ext/mbstring/php_mbregex.c
parentbbcfa66e06110d8256595e644378a5358dda3558 (diff)
downloadphp-git-aadd3aaed902a8f21c11984687a4e3d414a2caed.tar.gz
Use RETURN_THROWS() in various places
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r--ext/mbstring/php_mbregex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c
index 39fc77bdb7..c43644a2d5 100644
--- a/ext/mbstring/php_mbregex.c
+++ b/ext/mbstring/php_mbregex.c
@@ -903,7 +903,7 @@ static void _php_mb_regex_ereg_exec(INTERNAL_FUNCTION_PARAMETERS, int icase)
if (array != NULL) {
array = zend_try_array_init(array);
if (!array) {
- return;
+ RETURN_THROWS();
}
}