summaryrefslogtreecommitdiff
path: root/ext/standard/tests
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-04-01 22:07:42 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-04-01 22:07:42 +0000
commitc85843aec1177c8ff9932c282b5a49876f958ac3 (patch)
tree93882c50d3956e1b8104a54a54789052937a2ff4 /ext/standard/tests
parent962c8cc9ef964c80dad21060af327d53113dd714 (diff)
downloadphp-git-c85843aec1177c8ff9932c282b5a49876f958ac3.tar.gz
MFB: Revert patch for bug #27782.
Diffstat (limited to 'ext/standard/tests')
-rw-r--r--ext/standard/tests/array/bug27782.phpt32
1 files changed, 0 insertions, 32 deletions
diff --git a/ext/standard/tests/array/bug27782.phpt b/ext/standard/tests/array/bug27782.phpt
deleted file mode 100644
index 2c8c6753d4..0000000000
--- a/ext/standard/tests/array/bug27782.phpt
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-Bug #27782 (each(), next(), prev() mange array position)
---FILE--
-<?php
-$a = array("a", "b", "c");
-reset($a);
-
-while (next($a) !== false);
-
-echo current($a) . "\n";
-echo prev($a) . "\n";
-
-reset($a);
-
-while (list(,$foo) = each($a)) {
- echo $foo . "\n";
-}
-echo current($a) . "\n";
-
-while ($foo = prev($a)) {
- echo $foo . "\n";
-}
-?>
---EXPECT--
-c
-b
-a
-b
-c
-c
-b
-a