summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-01-01 17:40:25 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-01-01 17:41:48 +0100
commitb2fba0ef6222c81b60993b634d1d83588ca2a60b (patch)
tree6d00d324348a3f05c3f5ade6805fab995d54c3d2 /ext/reflection/php_reflection.c
parentb23c865d15357d07fcf40e7e391e37ff77b5e7f6 (diff)
downloadphp-git-b2fba0ef6222c81b60993b634d1d83588ca2a60b.tar.gz
Fix build
We cannot `RETURN_THROWS()` here, since `return_value` is not defined.
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index f7ec9f748c..4debb4c7e6 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -390,7 +390,7 @@ static void _class_string(smart_str *str, zend_class_entry *ce, zval *obj, char
_class_const_string(str, ZSTR_VAL(key), c, ZSTR_VAL(sub_indent));
if (UNEXPECTED(EG(exception))) {
zend_string_release(sub_indent);
- RETURN_THROWS();
+ return;
}
} ZEND_HASH_FOREACH_END();
}