PHP Taskbook Level 4.9

Задание 1

Make a function that will return how many days are left until the nearest 29 February.

Задание 2

Create a function that will return the date of the next Maslenitsa, which is celebrated on the last Sunday of winter.

Задание 3

Make a function that will return a random color.

Задание 4

Make a function that takes an array of numbers as a parameter and returns an array of common divisors of all numbers from the passed array.

Задание 5

Create a function that takes a two-dimensional array of numbers as a parameter and returns an array of the maximum numbers in each subarray.