Eric Poe
Results
2
comments of
Eric Poe
The constants `USE_KEY` and `USE_BOTH` belong to Haystack. The PHP flags are `ARRAY_FILTER_USE_KEY` and `ARRAY_FILTER_USE_KEY` The tests pass for PHP 5.5, so I'm not sure that I understand what the...
I like the idea. I spent a lot of time trying to figure out why `ARRAY_FILTER_USE_BOTH` expected `callback($value, $key)` rather than a more natural `callback($key, $value)`; [I finally found the...