From: SVN Migration Date: Thu, 6 Feb 2003 15:04:54 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.2RC1~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3627d1d8dcba432c5bc4155f7971519d52affde;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/standard/tests/array/bug22088.phpt b/ext/standard/tests/array/bug22088.phpt new file mode 100644 index 0000000000..827da25599 --- /dev/null +++ b/ext/standard/tests/array/bug22088.phpt @@ -0,0 +1,20 @@ +--TEST-- +Bug #21998 (array_shift() leaves next index to be +1 too much) +--FILE-- + +--EXPECT-- +array(3) { + [0]=> + string(1) "b" + [1]=> + string(1) "c" + [2]=> + string(1) "a" +}