The What
Syntax
array array_filter ( array $array [, callable $callback [, int $flag = 0 );
Description
The array_filter
function iterates over each value in the array passing them to the callback function. If the callback function returns true, the current value from array is returned into the result array. Array keys are preserved.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.