diff options
author | Anthony Ferrara <ircmaxell@gmail.com> | 2015-03-18 15:22:21 -0400 |
---|---|---|
committer | Anthony Ferrara <ircmaxell@gmail.com> | 2015-03-18 15:22:21 -0400 |
commit | 0529eeb4a6d9b826075d267d98c7bbee2ffd75ab (patch) | |
tree | 966948f9245e9f8ebe0da9a0154e5b4c15e87fcc /Zend/zend.c | |
parent | dd9f4f95858a5720f914341f36b6e60cd0706797 (diff) | |
download | php-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.c | 2 |
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); } /* }}} */ |