]> granicus.if.org Git - php/commitdiff
- Fixed bug #50090 (Typo in IteratorIterator constructor)
authorFelipe Pena <felipe@php.net>
Sat, 7 Nov 2009 21:27:15 +0000 (21:27 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 7 Nov 2009 21:27:15 +0000 (21:27 +0000)
ext/spl/spl_iterators.c

index 91df0a614366c9008aa515f1fc1d0426a2897efe..bc006ced93d540a241b112f55713aca51a0c86a6 100755 (executable)
@@ -1382,7 +1382,7 @@ static spl_dual_it_object* spl_dual_it_construct(INTERNAL_FUNCTION_PARAMETERS, z
                                                return NULL;
                                        }
                                        if (!retval || Z_TYPE_P(retval) != IS_OBJECT || !instanceof_function(Z_OBJCE_P(retval), zend_ce_traversable TSRMLS_CC)) {
-                                               zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "%v::getIterator() must return an object that implememnts Traversable", ce->name);
+                                               zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "%v::getIterator() must return an object that implements Traversable", ce->name);
                                                zend_restore_error_handling(&error_handling TSRMLS_CC);
                                                return NULL;
                                        }