diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-03 17:04:06 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-03 17:04:06 +0100 |
commit | 7b4a4d2ace0015e6e7cc34f309edda91a8097d71 (patch) | |
tree | f4543ce9ab9d6dfd37c68453de5831796af70b9f /ext/reflection/php_reflection.c | |
parent | 1658b5babc34c46b3b78b852e7a5f134845ace7c (diff) | |
download | php-git-7b4a4d2ace0015e6e7cc34f309edda91a8097d71.tar.gz |
Use RETURN_THROWS() after try_convert_to_string()
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index d062d20539..a97331d53a 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3802,7 +3802,7 @@ static void reflection_class_object_ctor(INTERNAL_FUNCTION_PARAMETERS, int is_ob } } else { if (!try_convert_to_string(argument)) { - return; + RETURN_THROWS(); } if ((ce = zend_lookup_class(Z_STR_P(argument))) == NULL) { |