I'd like to combine some arrays with others to create a new array, but it doesn't work.
Asked 2 months ago, Updated 2 months ago, 3 views
Array of specific days of the month (November) and
There is an array of fruits to assign by day of the week.
I'd like to use this to insert a specific array into the appropriate day of the week, but for some reason it stops at 23...
I don't know why.
(We will also implement a restricted implementation in the next week, every second week.)
If no key is specified for the array, consecutive numbers are re-numbered from 0. $dayArray has only 24 elements registered, so the number is up to 23.
If you want to keep the array key, you can specify the array key as follows: