<?php
$ArrayToTest = array('');
$TestingArray = array_filter($ArrayToTest);
if (!empty($TestingArray)) {
echo "not empty";
} else {
echo "empty";
}
?>
$ArrayToTest = array('');
$TestingArray = array_filter($ArrayToTest);
if (!empty($TestingArray)) {
echo "not empty";
} else {
echo "empty";
}
?>
0 comments:
Post a Comment