I want to cache an array which has also closures.
I've tried with:
- serialize() - can't serialize closures
- json_encode() - replaces closure with empty value
- base64_encode() - doesn't accept arrays
What else to do for caching array containing also closures ?