From: foobar Date: Wed, 13 Aug 2003 09:48:32 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.3RC4~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=806f9145de7f098061f0c950125d71474495171a;p=php MFH --- 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-- $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==