Return to Snippet

Revision: 41903
at February 24, 2011 17:19 by f6design


Updated Code
$my_arr = array_filter($my_arr);

Revision: 41902
at February 24, 2011 17:06 by f6design


Initial Code
$my_array = array_filter($my_array);

Initial URL

                                

Initial Description
Removes 'false', '0', 'null' or '' from the array

Initial Title
Remove empty elements from an array

Initial Tags
array

Initial Language
PHP