Create Array Of Zeros Php

[Solved] Create Array Of Zeros Php | Php - Code Explorer | yomemimo.com
Question : create array of zeros php

Answered by : green-team

<?php //Will Fill from 0 to 10 with number 0
$a = array_fill(0, 10, 0);
print_r($a);
?>

Source : https://www.php.net/manual/en/function.array-fill.php | Last Update : Thu, 24 Feb 22

Answers related to create array of zeros php

Code Explorer Popular Question For Php