Yes, you can have callbacks to methods, like this:
array_map(array($instance, 'fun'), $ar)
see the callback type in PHP’s manual for more info
Yes, you can have callbacks to methods, like this:
array_map(array($instance, 'fun'), $ar)
see the callback type in PHP’s manual for more info