summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorAnthony Ferrara <ircmaxell@gmail.com>2015-03-18 15:22:21 -0400
committerAnthony Ferrara <ircmaxell@gmail.com>2015-03-18 15:22:21 -0400
commit0529eeb4a6d9b826075d267d98c7bbee2ffd75ab (patch)
tree966948f9245e9f8ebe0da9a0154e5b4c15e87fcc /Zend/zend.c
parentdd9f4f95858a5720f914341f36b6e60cd0706797 (diff)
downloadphp-git-0529eeb4a6d9b826075d267d98c7bbee2ffd75ab.tar.gz
Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages
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 8ed8b2abc1..f54442a7ed 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -1284,7 +1284,7 @@ ZEND_API void zend_type_error(const char *format, ...) /* {{{ */
va_start(va, format);
zend_vspprintf(&message, 0, format, va);
- zend_throw_exception(zend_get_type_exception(), message, 0);
+ zend_throw_exception(zend_get_type_exception(), message, E_ERROR);
efree(message);
va_end(va);
} /* }}} */