summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-07-03 17:28:11 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-07-03 17:53:42 -0500
commit1a0ddf988c92614de6890c12ee305c4bf1ff4302 (patch)
treed2dd8c861df7669125814a9b9071e4df2867a4ec /Zend/zend.c
parentfbcc82395269df8d4c862ad8eaede89beb1eb4bb (diff)
downloadphp-git-1a0ddf988c92614de6890c12ee305c4bf1ff4302.tar.gz
Switch code on thrown Errors to 0, update related tests
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index af2abd13c6..9e8613aa55 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -1302,7 +1302,7 @@ ZEND_API void zend_throw_error(zend_class_entry *exception_ce, const char *forma
// TODO: we can't convert compile-time errors to exceptions yet???
if (EG(current_execute_data) && !CG(in_compilation)) {
- zend_throw_exception(exception_ce, message, E_ERROR);
+ zend_throw_exception(exception_ce, message, 0);
} else {
zend_error(E_ERROR, message);
}