Extracted from Pike v7.6 release 112 at 2009-09-11.
pike.ida.liu.se
[Top]

Method allocate()


Method allocate

array allocate(int size)
array allocate(int size, mixed init)

Description

Allocate an array of size elements. If init is specified then each element is initialized by copying that value recursively.

See also

sizeof() , aggregate() , arrayp()