PHP Taskbook Level 4.5

Задание 1

Given a variable with a string. Check that this string is a number, i.e. consists only of digits.

Задание 2

Given a variable with a string, check that this string is a fraction.

Задание 3

Make a function that takes an array of numbers as a parameter and returns the second largest number.

Задание 4

Make a function that takes two numbers as parameters and returns an array filled with integers from the minimum parameter to the maximum.

Задание 5

Make a function that will fill an array with random Latin letters.

Задание 6

Make a function that will return the sum of the first N Fibonacci numbers.