Remove NULL values from PHP arrays

$new_array = array_filter($old_array, 'strlen');

There are no comments yet, add one below.

Leave a Comment

Your email address will not be published. Required fields are marked *

*