Iterates over each value in
the input
array passing them to the
callback
function. If the
callback
function returns true, the current
value from input
is returned into the
result array. Array keys are preserved.
Parameters
input
The array to iterate over
callback
The callback function to use
If no callback
is supplied, all entries of
input
equal to FALSE (see
converting to
boolean) will be removed.