From 059e2c19010c74c5454025cd74284de264246bb2 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 7 Nov 2009 21:27:15 +0000 Subject: [PATCH] - Fixed bug #50090 (Typo in IteratorIterator constructor) --- ext/spl/spl_iterators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 91df0a6143..bc006ced93 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -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; } -- 2.40.0