mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
E_ERROR -> E_RECOVERABLE_ERROR
This commit is contained in:
parent
d7fd19b7ff
commit
18870e3afc
1 changed files with 1 additions and 1 deletions
|
@ -1005,7 +1005,7 @@ zend_object_iterator *sqlite_get_iterator(zend_class_entry *ce, zval *object, in
|
|||
sqlite_object *obj = (sqlite_object*) zend_object_store_get_object(object TSRMLS_CC);
|
||||
|
||||
if (by_ref) {
|
||||
zend_error(E_ERROR, "An iterator cannot be used with foreach by reference");
|
||||
zend_error(E_RECOVERABLE_ERROR, "An iterator cannot be used with foreach by reference");
|
||||
}
|
||||
object->refcount++;
|
||||
iterator->it.data = (void*)object;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue