php create empty array with size

Solutions on MaxInterview for php create empty array with size by the best coders in the world

showing results for - "php create empty array with size"
Maite
19 May 2018
1$my_array = array_fill(0, $size_of_the_array, $some_data);
2