<?php
function hello($arr){
if (is_Arry($name)){
foreach($arr as $name){
echo "Hello, $name how its going ";
} } else {
echo "Hello My Friends";
}
}
$names = array('Nina','Tal','Alexandra','Sofia');
hello('$names');
?>
Fatal error: Uncaught Error: Call to undefined function is_Arry() in /in/RcKAM:3
Stack trace:
#0 /in/RcKAM(11): hello('$names')
#1 {main}
thrown in /in/RcKAM on line 3
Process exited with code 255.