PHP Taskbook Level 2.4

Задание 1

Given a string of letters and numbers, get the position of the first digit in that string.

Задание 2

Given an object with keys and values, write the object's keys into the first array and the object's values ​​into the second.

Задание 3

Given a number, output to the console the number of even digits in this number.

Задание 4

Given a string:

php'abcde'

Convert all odd letters of this line to uppercase. In our case, we should get the following:

php'AbCdE'
Задание 5

There is a certain line with the words:

php'aaa bbb ccc'

Capitalize the first character of each word in this line. In our case, it should look like this:

php'Aaa Bbb Ccc'