helly Sat Mar 13 15:07:24 2004 EDT Modified files: /php-src/ext/spl/tests array_object.phpt Log: Update test with check for [] assignment http://cvs.php.net/diff.php/php-src/ext/spl/tests/array_object.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/spl/tests/array_object.phpt diff -u php-src/ext/spl/tests/array_object.phpt:1.2 php-src/ext/spl/tests/array_object.phpt:1.3 --- php-src/ext/spl/tests/array_object.phpt:1.2 Thu Feb 12 15:52:46 2004 +++ php-src/ext/spl/tests/array_object.phpt Sat Mar 13 15:07:22 2004 @@ -30,6 +30,10 @@ unset($ar["c"]); var_dump($ar); +$ar[] = '3'; +$ar[] = 4; +var_dump($ar); + ?> ===DONE=== <?php exit(0); ?> @@ -86,4 +90,14 @@ [2]=> int(2) } +object(ArrayObject)#1 (4) { + [0]=> + int(0) + [2]=> + int(2) + [4]=> + string(1) "3" + [5]=> + int(4) +} ===DONE===
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php