1--TEST--
2SplFixedArray::setSize() grow
3--CREDITS--
4PHPNW Test Fest 2009 - Jordan Hatch
5--FILE--
6<?php
7
8echo "\n";
9
10$array = new SplFixedArray(2);
11
12$array[0] = "Value 1";
13$array[1] = "Value 2";
14
15$array->setSize(4);
16
17$array[2] = "Value 3";
18$array[3] = "Value 4";
19
20print_r($array);
21
22?>
23--EXPECT--
24SplFixedArray Object
25(
26    [0] => Value 1
27    [1] => Value 2
28    [2] => Value 3
29    [3] => Value 4
30)
31