#Comments
In the above code, assigning the anonymous functions to variables in the same code block works, if I assign them above.
If I assign them below, no go.
I'd like to be able to define those helper functions (ShowGreatThanZero and displayoutput) elsewhere, so that the code is neat and clean.
You could also just create that function in a helper somewhere or.... put it in a class which is accessible like a helper class or something:
Then you could do:
function showGreaterThenZero () {}
or
->filter(call_user_func(['classname', 'methodname'])