|
SplFixedArray::__constructConstructs a new fixed array Description
public SplFixedArray::__construct
([ int
$size = 0
] )
Initializes a fixed array with a number of Parameters
Return ValuesNo value is returned. Errors/Exceptions
Throws InvalidArgumentException when
Raises Examples
Example #1 SplFixedArray::__construct example
<?php The above example will output: NULL int(2) NULL NULL string(3) "foo" |