filter array in php with passing extra params

Solutions on MaxInterview for filter array in php with passing extra params by the best coders in the world