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/streamsfuncs.c | |
| parent | 1658b5babc34c46b3b78b852e7a5f134845ace7c (diff) | |
| download | php-git-7b4a4d2ace0015e6e7cc34f309edda91a8097d71.tar.gz | |
Use RETURN_THROWS() after try_convert_to_string()
Diffstat (limited to 'ext/standard/streamsfuncs.c')
| -rw-r--r-- | ext/standard/streamsfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 31e9c141d8..6aea1a7b9a 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -1576,7 +1576,7 @@ PHP_FUNCTION(stream_is_local) wrapper = stream->wrapper; } else { if (!try_convert_to_string(zstream)) { - return; + RETURN_THROWS(); } wrapper = php_stream_locate_url_wrapper(Z_STRVAL_P(zstream), NULL, 0); |
