diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2016-06-14 11:32:33 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2016-06-14 13:18:43 -0500 |
commit | 7d53864574e22a3f72fcee7eb902248fb25f85df (patch) | |
tree | 19e9f8a5a99ae125ccd94124d32712ddb9c5eddb /ext/spl/spl_array.c | |
parent | 771e5cc24716304dd2bf8cbd8aec11d465965d0a (diff) | |
download | php-git-7d53864574e22a3f72fcee7eb902248fb25f85df.tar.gz |
E_RECOVERABLE_ERROR -> thrown Error
Diffstat (limited to 'ext/spl/spl_array.c')
-rw-r--r-- | ext/spl/spl_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 60cbac5726..8b95358717 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -770,7 +770,7 @@ void spl_array_iterator_append(zval *object, zval *append_value) /* {{{ */ } if (spl_array_is_object(intern)) { - php_error_docref(NULL, E_RECOVERABLE_ERROR, "Cannot append properties to objects, use %s::offsetSet() instead", ZSTR_VAL(Z_OBJCE_P(object)->name)); + zend_throw_error(NULL, "Cannot append properties to objects, use %s::offsetSet() instead", ZSTR_VAL(Z_OBJCE_P(object)->name)); return; } |