diff options
author | foobar <sniper@php.net> | 2003-08-13 09:48:20 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-08-13 09:48:20 +0000 |
commit | 604b06e4ca1f5a06a6168a3d09f0041fd5743152 (patch) | |
tree | 9e8d52dcb2349f300e80decb89a0a0a7da04419a /ext/standard/tests/array/bug21918.phpt | |
parent | dc82ca11b4b7f155a23005cbbdc23c7932738d5d (diff) | |
download | php-git-604b06e4ca1f5a06a6168a3d09f0041fd5743152.tar.gz |
Fix the test. (this was mixed test with bug #24159)
Diffstat (limited to 'ext/standard/tests/array/bug21918.phpt')
-rwxr-xr-x | ext/standard/tests/array/bug21918.phpt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/standard/tests/array/bug21918.phpt b/ext/standard/tests/array/bug21918.phpt index 8f7246c1b2..1c9d746fdf 100755 --- a/ext/standard/tests/array/bug21918.phpt +++ b/ext/standard/tests/array/bug21918.phpt @@ -1,4 +1,5 @@ --TEST-- +Bug #21918 (different handling of positive vs. negative array indexes) --FILE-- <?php @@ -21,7 +22,6 @@ foreach($b as $k => $v) { echo "==Negative==\n"; $c = array('-2' => 'a'); -$c[] = 'b'; foreach($c as $k => $v) { var_dump($k); @@ -52,6 +52,4 @@ string(1) "a" ==Negative== int(-2) string(1) "a" -int(-1) -string(1) "b" ==Done== |