1--TEST--
2shrink a full array of integers
3--CREDITS--
4PHPNW Testfest 2009 - Lorna Mitchell
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
14$array->setSize(4);
15var_dump($array);
16
17?>
18--EXPECT--
19object(SplFixedArray)#1 (4) {
20  [0]=>
21  int(1)
22  [1]=>
23  int(1)
24  [2]=>
25  int(1)
26  [3]=>
27  int(1)
28}
29