summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-11-07 21:27:15 +0000
committerFelipe Pena <felipe@php.net>2009-11-07 21:27:15 +0000
commit8f11dc62d5e087eced9485be79327c91b0b1e42f (patch)
treefee0670715be69b22698de02d9e6f2a402429d2d
parent065167bdae7aa02794202cc4f241d7da59f44c11 (diff)
downloadphp-git-8f11dc62d5e087eced9485be79327c91b0b1e42f.tar.gz
- Fixed bug #50090 (Typo in IteratorIterator constructor)
-rwxr-xr-xext/spl/spl_iterators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index 856a3c48ee..97b58e9bae 100755
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -1332,7 +1332,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, "%s::getIterator() must return an object that implememnts Traversable", ce->name);
+ zend_throw_exception_ex(spl_ce_LogicException, 0 TSRMLS_CC, "%s::getIterator() must return an object that implements Traversable", ce->name);
zend_restore_error_handling(&error_handling TSRMLS_CC);
return NULL;
}