mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
Fix tests after foreach patch
This commit is contained in:
parent
0286913937
commit
1dda0f263a
@ -110,17 +110,14 @@ c::getIterator
|
||||
c_iter::__construct
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
object:0
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
object:1
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
object:2
|
||||
c_iter::next
|
||||
c_iter::valid = false
|
||||
@ -129,66 +126,54 @@ c::getIterator
|
||||
c_iter::__construct
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
c::getIterator
|
||||
c_iter::__construct
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:0:0
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:0:1
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:0:2
|
||||
c_iter::next
|
||||
c_iter::valid = false
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
c::getIterator
|
||||
c_iter::__construct
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:1:0
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:1:1
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:1:2
|
||||
c_iter::next
|
||||
c_iter::valid = false
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
c::getIterator
|
||||
c_iter::__construct
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:2:0
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:2:1
|
||||
c_iter::next
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:2:2
|
||||
c_iter::next
|
||||
c_iter::valid = false
|
||||
|
@ -60,7 +60,7 @@ class c implements IteratorAggregate {
|
||||
|
||||
$t = new c();
|
||||
|
||||
foreach($t as $v) {
|
||||
foreach($t as $k => $v) {
|
||||
foreach($t as $w) {
|
||||
echo "double:$v:$w\n";
|
||||
break;
|
||||
@ -83,7 +83,6 @@ c_iter::__construct
|
||||
c_iter::rewind
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:0:0
|
||||
c_iter::__destruct
|
||||
c_iter::next
|
||||
@ -95,7 +94,6 @@ c_iter::__construct
|
||||
c_iter::rewind
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:1:0
|
||||
c_iter::__destruct
|
||||
c_iter::next
|
||||
@ -107,7 +105,6 @@ c_iter::__construct
|
||||
c_iter::rewind
|
||||
c_iter::valid = true
|
||||
c_iter::current
|
||||
c_iter::key
|
||||
double:2:0
|
||||
c_iter::__destruct
|
||||
c_iter::next
|
||||
|
Loading…
Reference in New Issue
Block a user