PHP » GoLang |
login |
register |
about
|
GoLang SplFixedArray::setSize
request it (290)
GoLang replacement for PHP's SplFixedArray::setSize
[edit | history]
SplFixedArray::setSize(PHP 5 >= 5.3.0, PHP 7) SplFixedArray::setSize — Change the size of an array Description
public bool SplFixedArray::setSize
( int
$size
)
Change the size of an array to the new size of Parameters
Return Values
Returns Errors/Exceptions
Throws InvalidArgumentException when
Raises Examples
Example #1 SplFixedArray::setSize() example
<?php The above example will output: 5 10 |
more
Recently updated
more
Most requested
more
Last requests
|