]> granicus.if.org Git - php/commitdiff
Fix build
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 1 Jan 2021 16:40:25 +0000 (17:40 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 1 Jan 2021 16:41:48 +0000 (17:41 +0100)
We cannot `RETURN_THROWS()` here, since `return_value` is not defined.

ext/reflection/php_reflection.c

index f7ec9f748c1990bd61bbeea8ec5bdc18a8698d76..4debb4c7e6591899145a77c70da725456ab3757f 100644 (file)
@@ -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();
        }