Method allocate()
- Method allocate
arrayallocate(intsize)
arrayallocate(intsize,mixedinit)- Description
Allocate an array of
sizeelements. Ifinitis specified then each element is initialized by copying that value recursively.- See also
array allocate(int size)
array allocate(int size, mixed init)
Allocate an array of size elements. If init is specified
then each element is initialized by copying that value
recursively.