summaryrefslogtreecommitdiff
path: root/main/streams
diff options
context:
space:
mode:
Diffstat (limited to 'main/streams')
-rw-r--r--main/streams/streams.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index 495feab100..ce370941a8 100644
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -2074,6 +2074,9 @@ PHPAPI php_stream *_php_stream_open_wrapper_ex(const char *path, const char *mod
options |= STREAM_ASSUME_REALPATH;
options &= ~USE_PATH;
}
+ if (EG(exception)) {
+ return NULL;
+ }
}
path_to_open = path;