PHP Taskbook Level 4.2
Make a function that will take a number as a parameter and remove zeros from it.
Make a function that will return how many days have passed or are left until a given date in the year, depending on whether that date has already happened or not.
Make a function that returns an array of all leap years for the previous hundred years.
Make a function that takes a year as a parameter and checks whether it is a leap year or not.
Make a function that will return how many days are left until the end of the current month.
Make a function that will return the previous, current and next days of the week in words as the following array:
[
'next' => 'Mon',
'curr' => 'Sun',
'prev' => 'Sat',
]