svn: /php/php-src/ branches/PHP_5_2/ext/spl/spl_iterators.c branches/PHP_5_3/ext/spl/spl_iterators.c trunk/ext/spl/spl_iterators.c

From: Date: Sat, 07 Nov 2009 21:27:15 +0000
Subject: svn: /php/php-src/ branches/PHP_5_2/ext/spl/spl_iterators.c branches/PHP_5_3/ext/spl/spl_iterators.c trunk/ext/spl/spl_iterators.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60860@lists.php.net to get a copy of this message
felipe Sat, 07 Nov 2009 21:27:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290392 Log: - Fixed bug #50090 (Typo in IteratorIterator constructor) Bug: http://bugs.php.net/50090 (Open) Typo in IteratorIterator constructor Changed paths: U php/php-src/branches/PHP_5_2/ext/spl/spl_iterators.c U php/php-src/branches/PHP_5_3/ext/spl/spl_iterators.c U php/php-src/trunk/ext/spl/spl_iterators.c Modified: php/php-src/branches/PHP_5_2/ext/spl/spl_iterators.c =================================================================== --- php/php-src/branches/PHP_5_2/ext/spl/spl_iterators.c 2009-11-07 19:01:37 UTC (rev 290391) +++ php/php-src/branches/PHP_5_2/ext/spl/spl_iterators.c 2009-11-07 21:27:15 UTC (rev 290392) @@ -982,7 +982,7 @@ 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; } Modified: php/php-src/branches/PHP_5_3/ext/spl/spl_iterators.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/spl/spl_iterators.c 2009-11-07 19:01:37 UTC (rev 290391) +++ php/php-src/branches/PHP_5_3/ext/spl/spl_iterators.c 2009-11-07 21:27:15 UTC (rev 290392) @@ -1332,7 +1332,7 @@ 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; } Modified: php/php-src/trunk/ext/spl/spl_iterators.c =================================================================== --- php/php-src/trunk/ext/spl/spl_iterators.c 2009-11-07 19:01:37 UTC (rev 290391) +++ php/php-src/trunk/ext/spl/spl_iterators.c 2009-11-07 21:27:15 UTC (rev 290392) @@ -1382,7 +1382,7 @@ 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; }

« previous php.cvs (#60860) next »