Gen. partnerAlgotech

PHP function array_fill()

Filling the field with values

|
September 11, 2019

Availability in versions: PHP 4.2.0

Filling the field with values

Parameters

Parameter Data type Default value Note
$start_index int not First index of the returned field. Only non-negative indices are supported.
$num int not Number of elements inserted
$value mixed not

Return values

array - modified array

Additional resources

Official array-fill documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.