Answers for "remove blank index from array php"

PHP
0

php remove empty values from array

$array = array_filter($array, function($a) {
    return trim($a) !== "";
});
Posted by: Guest on December-25-2020

Code answers related to "remove blank index from array php"

Browse Popular Code Answers by Language