1--TEST--
2Create array, fills it with and resizes it to lower value.
3--CREDITS--
4Philip Norton philipnorton42@gmail.com
5--FILE--
6<?php
7$array = new SplFixedArray(5);
8$array[0] = 1;
9$array[1] = 1;
10$array[2] = 1;
11$array[3] = 1;
12$array[4] = 1;
13$array->setSize(2);
14var_dump($array);
15?>
16--EXPECT--
17object(SplFixedArray)#1 (2) {
18  [0]=>
19  int(1)
20  [1]=>
21  int(1)
22}
23