PHP » GoLang |
login |
register |
about
|
GoLang SplFixedArray::__constructGoLang replacement for PHP's SplFixedArray::__construct [edit | history]
PHP SplFixedArray::__constructPHP original manual for SplFixedArray::__construct [ show | php.net ]SplFixedArray::__construct(PHP 5 >= 5.3.0, PHP 7) SplFixedArray::__construct — Constructs 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" |
more
Recently updated
more
Most requested
more
Last requests
|