(PHP 5 >= 5.3.0, PHP 7)
Change the size of an array
public int SplFixedArray::setSize ( int $size )
Change the size of an array to the new size of size. If size is less than the current array size, any values after the new size will be discarded. If size is greater than the current array size, the array will be padded with NULL values.
Parameters:
size
The new array si