✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що отримаємо в результаті роботи функції?
function myFunction($p) {if (is_string($p)) echo $p;if (is_int($p)) echo $p * $p;if (is_array($p)) { for ($i = $n = 0; $i < sizeof($p); $i++) { $n += $p[$i]; } echo $n;}}myFunction(array(1,2,3,4,5,6,7,8));