Skip to content

Commit 6aa694a

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too) fix invalid variable name at ext/spl/internal/multipleiterator.inc
2 parents 7bd8dfa + 68e630b commit 6aa694a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/spl/internal/multipleiterator.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class MultipleIterator implements Iterator
163163
$retval = array();
164164
foreach($this->iterators as $iter)
165165
{
166-
if ($it->valid())
166+
if ($iter->valid())
167167
{
168168
if ($this->flags & self::MIT_KEYS_ASSOC)
169169
{
@@ -205,7 +205,7 @@ class MultipleIterator implements Iterator
205205
$retval = array();
206206
foreach($this->iterators as $iter)
207207
{
208-
if ($it->valid())
208+
if ($iter->valid())
209209
{
210210
$retval[] = $iter->key();
211211
}

0 commit comments

Comments
 (0)