Commit: e617679c0ba616551df62ad370a70d5cf610c270 Author: sasezaki <sasez...@gmail.com> Wed, 26 Jun 2013 01:04:26 +0900 Committer: Stanislav Malyshev <s...@php.net> Mon, 15 Jul 2013 00:36:29 -0700 Parents: 76775a3aa7555197e0479865542a7013796ecbe1 Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e617679c0ba616551df62ad370a70d5cf610c270 Log: fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too) Changed paths: M ext/spl/internal/multipleiterator.inc Diff: diff --git a/ext/spl/internal/multipleiterator.inc b/ext/spl/internal/multipleiterator.inc index 3c1719e..12df011 100644 --- a/ext/spl/internal/multipleiterator.inc +++ b/ext/spl/internal/multipleiterator.inc @@ -205,7 +205,7 @@ class MultipleIterator implements Iterator $retval = array(); foreach($this->iterators as $iter) { - if ($it->valid()) + if ($iter->valid()) { $retval[] = $iter->key(); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php