Page 1 of 1

array_filter with inline function definition

Posted: Sun Apr 16, 2006 4:47 pm
by alex.barylski
I am using array_filter() and I want to use a callback, but have it defined inline...

Code: Select all

array_filter($arr, create_function());
Is this possible?

Cheers :)

Posted: Sun Apr 16, 2006 4:53 pm
by feyd
ab.so.lutely.