From: foobar Date: Wed, 13 Aug 2003 09:48:20 +0000 (+0000) Subject: Fix the test. (this was mixed test with bug #24159) X-Git-Tag: RELEASE_0_7~686 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=604b06e4ca1f5a06a6168a3d09f0041fd5743152;p=php Fix the test. (this was mixed test with bug #24159) --- 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==