unserialize
Guilty Of PHP articles about unserialize
2 articles
-
Read PHP Scalars in serialize() Output and Check Array and Object Round Trips
Recognize integer and string markers, then use round-trip checks to verify array entries and object state without relying on printed output alone.
-
Restrict Object Classes When Calling PHP unserialize()
Pass an allowed_classes list or false, then check whether the restored value is the expected object or __PHP_Incomplete_Class before using it.
