From: Felipe Pena Date: Sat, 7 Nov 2009 21:27:15 +0000 (+0000) Subject: - Fixed bug #50090 (Typo in IteratorIterator constructor) X-Git-Tag: php-5.2.12RC1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f6fa0ba125152f7657a8a2533017d360fd57a00;p=php - Fixed bug #50090 (Typo in IteratorIterator constructor) --- diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 07e3dea9e6..96692e8266 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -982,7 +982,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); php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); return NULL; }