|
SplFixedArray::setSizeChange the size of an array Description
public int SplFixedArray::setSize
( int
$size
)
Change the size of an array to the new size of Parameters
Return ValuesNo value is returned. Errors/Exceptions
Throws InvalidArgumentException when
Raises Examples
Example #1 SplFixedArray::setSize example
<?php The above example will output: 5 10 |