Less than 1 minute
array_remove_empty
Recursively remove all empty values from an array.
public array_remove_empty({Array})
Removes all values from an array that are considered empty. This includes null values, empty strings and empty arrays.
Unlike PHP's empty()
function, this DOES NOT include 0, 0.0, "0" or false.
Parameters
Parameter | Type | Description |
---|---|---|
$array | array |
Generated by Hazaar API Doc Generator