PHP Taskbook Level 10.5

Задание 1

Given a number, display the process of factoring the number into prime factors, as in school.

Задание 2

Given an arbitrary two-dimensional array:

php[
  [11, 12, 13, 14, 15],
  [21, 22, 23, 24, 25],
  [31, 32, 33, 34, 35],
  [41, 42, 43, 44, 45],
  [51, 52, 53, 54, 55],
]

Write code that will get an array of values ​​for a given column:

php[
  13, 23, 33, 43, 54
]
Задание 3

Given a multidimensional array of arbitrary nesting level:

php[
  'a' => [
    'b' => [
      'c' => '+++'
    ]
  ],
]

Make a function that will return the elements of an array, receiving as a parameter a string with the array keys separated by dots:

phpfunc('a.b.c'); // will return '+++'
Задание 4

Once you enter the page, fill in the table as follows: