array_fill < PHP
The array_fill function returns an array of a value.
$money = array_fill(0, 3, 'banana');
print_r($money);
// Array
// (
// [0] => banana
// [1] => banana
// [2] => banana
// )
The array_fill function returns an array of a value.
$money = array_fill(0, 3, 'banana');
print_r($money);
// Array
// (
// [0] => banana
// [1] => banana
// [2] => banana
// )