Function _safe_unserialize
Safe unserialize() replacement - accepts a strict subset of PHP's native serialized representation - does not unserialize objects
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Throw: Exception if $str is malformed or contains unsupported types (e.g., resources, objects)
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Throw: Exception if $str is malformed or contains unsupported types (e.g., resources, objects)
Located at Sources/Subs.php
string |
$str |
mixed
|
mixed |