Limiting unserialize() to return arrays?

Kadar

New Member
Is there any way to limit PHP's unserialize() to only parse arrays?For security reasons. Suppose there is is an evil __unserialize() magic method in the unserialized object I don't wanna call!
 
Back
Top