PHP array_fill() function
The array_fill function simply fills an array with the provided values. This function is useful especially when we need to initialize an array with some dummy data. What is the syntax of the array_fill function in PHP? Parameters Details index Index of the array to start inserting the value at – required number Specify the …