PHP Taskbook Level 4.6
Make a function that takes a date in the format year-month-day as a parameter and determines whether such a date exists or not.
Create a function that will generate a string of a given length filled with random Latin letters.
Make a function that will receive a string of words as a parameter and return an uppercase string consisting of the first letters of the words.
Make a function that takes an array of numbers as a parameter and replaces each number with an array of its divisors.
Create a function that takes seconds as a parameter and returns the number of days, hours, minutes, and seconds corresponding to those seconds as the following array:
[
'd' => 12,
'h' => 10,
'm' => 59,
's' => 59,
]