PHP Taskbook Level 3.7

Задание 1

Given a string of words, sort the words in alphabetical order.

Задание 2

Given a number, get an array of divisors of that number.

Задание 3

Given two numbers, get an array of common divisors of these numbers.

Задание 4

Given a number, check that this number has only one divisor other than itself and one.

Задание 5

The numbers are written separated by commas. Get the maximum of these numbers.

Задание 6

Given an array of numbers, insert another one of the same after each single-digit number.

Задание 7

Given a string, remove all vowels from it.

Задание 8

Given a string, capitalize the last letter of each word in this string.