On 18 June 2013 18:04, Patrick Schaaf <b...@bof.de> wrote: > > Another alternative might be to go with a third argument to array_filter(), > but make that an integer with ORable constants ARRAY_FILTER_KEY, > ARRAY_FILTER_VAL - only one of them set calls with a single argument, both > set call with two arguments. >
That look like a fairly decent compromise of all the suggestions so far.