I am curious, is there a size limit on serialize in PHP. Would it be possible to serialize an array with 5,000 keys and values so it can be stored into a cache?
I am
The only practical limit is your available memory, since serialization involves creating a string in memory.