summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-09-25 10:38:32 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-09-25 10:40:45 +0200
commitde6b76805da6f7b3a69b364f1352e6408ff682e9 (patch)
treeb95a22e1e94e867928028d84d9897c5347918532 /ext
parent2540c44dbef09d0d5efe72151de2a4d8ae437677 (diff)
downloadphp-git-de6b76805da6f7b3a69b364f1352e6408ff682e9.tar.gz
Just return on throwing ZPP
Diffstat (limited to 'ext')
-rw-r--r--ext/simplexml/simplexml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 1654428fde..cd3143c709 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -1434,7 +1434,7 @@ SXE_METHOD(asXML)
size_t filename_len;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "|p", &filename, &filename_len) == FAILURE) {
- RETURN_FALSE;
+ return;
}
sxe = Z_SXEOBJ_P(ZEND_THIS);