diff options
| author | Marcus Boerger <helly@php.net> | 2003-07-16 09:48:36 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-07-16 09:48:36 +0000 |
| commit | 15097151f4a7545c1d359bf86f495eb18b9842db (patch) | |
| tree | 15478d4ef4e7ed26ddcff3d385febfcd71b6adad /ext/spl/spl_foreach.c | |
| parent | c03bd010c3a5aa1b7f115e854da63895be217a1d (diff) | |
| download | php-git-15097151f4a7545c1d359bf86f495eb18b9842db.tar.gz | |
Update and remove parts no longer possible
Diffstat (limited to 'ext/spl/spl_foreach.c')
| -rwxr-xr-x | ext/spl/spl_foreach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_foreach.c b/ext/spl/spl_foreach.c index 9466a0ad1e..35414f478b 100755 --- a/ext/spl/spl_foreach.c +++ b/ext/spl/spl_foreach.c @@ -69,8 +69,8 @@ ZEND_EXECUTE_HOOK_FUNCTION(ZEND_FE_RESET) if (is_a & SPL_IS_A_ITERATOR) { spl_unlock_zval_ptr_ptr(&EX(opline)->op1, EX(Ts) TSRMLS_CC); - spl_begin_method_call_ex(obj, NULL, NULL, "new_iterator", sizeof("new_iterator")-1, &retval); obj_ce = instance_ce; + spl_begin_method_call_ex(obj, obj_ce, NULL, "new_iterator", sizeof("new_iterator")-1, &retval); instance_ce = spl_get_class_entry(retval TSRMLS_CC); is_a = spl_implements(instance_ce); if (!(is_a & SPL_IS_A_FORWARD)) { |
