diff options
Diffstat (limited to 'ext/spl/spl_array.c')
-rw-r--r-- | ext/spl/spl_array.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 44f201d9b9..2835876e33 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -787,10 +787,7 @@ static HashTable *spl_array_get_properties(zval *object) /* {{{ */ HashTable *result; if (intern->nApplyCount > 1) { - zend_throw_error(zend_ce_error, "Nesting level too deep - recursive dependency?"); - ALLOC_HASHTABLE(result); - ZEND_INIT_SYMTABLE(result); - return result; + php_error_docref(NULL, E_ERROR, "Nesting level too deep - recursive dependency?"); } intern->nApplyCount++; |