CArray Object


fill

public fill($val)

Fill the array with a scalar value.

Parameters

int|double|float $val All elements of the CArray will be assigned this value.