array is null but not empty function is not work in php code example
Example: array should not be empty php
$arr = array();
if(!empty($arr)){
echo "not empty";
}
else
{
echo "empty";
}
$arr = array();
if(!empty($arr)){
echo "not empty";
}
else
{
echo "empty";
}