I want to remove NULL, FALSE and '' values .
NULL
FALSE
''
I used array_filter but it removes the 0' s also.
array_filter
0
Is there any function to do what I want?
array(NULL,FALSE,'',0,1) -> array(0,1)