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/standard/basic_functions.c | |
parent | 1658b5babc34c46b3b78b852e7a5f134845ace7c (diff) | |
download | php-git-7b4a4d2ace0015e6e7cc34f309edda91a8097d71.tar.gz |
Use RETURN_THROWS() after try_convert_to_string()
Diffstat (limited to 'ext/standard/basic_functions.c')
-rwxr-xr-x | ext/standard/basic_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 8f1907f3be..ef903be1e9 100755 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -2717,7 +2717,7 @@ PHP_FUNCTION(highlight_string) ZEND_PARSE_PARAMETERS_END(); if (!try_convert_to_string(expr)) { - return; + RETURN_THROWS(); } if (i) { |