PHP Taskbook Level 7.2

Задание 1

Given a text file, get the number of letters in it (i.e. without spaces, punctuation marks, etc.).

Задание 2

Create a text file named with the current date in the format year-month-day.

Задание 3

The file contains numbers separated by commas. Get the maximum of these numbers.

Задание 4

Given a text file, get an array of all its lines.

Задание 5

A form with an input is given. A year is entered into it. After submitting the form, output the dates of all Fridays 13-th of the given year as a list ul.

Задание 6

Write a program that will generate the following array:

php[
  ['x'],
  ['x', 'x'],
  ['x', 'x', 'x'],
  ['x', 'x', 'x', 'x'],
  ['x', 'x', 'x', 'x', 'x'],
]