diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2004-04-01 22:07:42 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2004-04-01 22:07:42 +0000 |
| commit | c85843aec1177c8ff9932c282b5a49876f958ac3 (patch) | |
| tree | 93882c50d3956e1b8104a54a54789052937a2ff4 /ext/standard/tests | |
| parent | 962c8cc9ef964c80dad21060af327d53113dd714 (diff) | |
| download | php-git-c85843aec1177c8ff9932c282b5a49876f958ac3.tar.gz | |
MFB: Revert patch for bug #27782.
Diffstat (limited to 'ext/standard/tests')
| -rw-r--r-- | ext/standard/tests/array/bug27782.phpt | 32 |
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 |
