Variables Configuration Options
Variables Configuration OptionsNameDefaultChangeableChangelogunserialize_callback_funcnullINI_ALLunserialize_max_depth"4096"INI_ALLAvailable as of PHP 7.4.0. Constants
Runtime Runtime
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| unserialize_callback_func | null | INI_ALL | |
| unserialize_max_depth | "4096" | INI_ALL | Available as of PHP 7.4.0. |
Constants
Title
unserialize_callback_funcstringThe callback specified is called when
unserialize()attempts to use an undefined class. A warning appears if the specified callback function is not defined, or if the callback function fails to define the missing class.See also
unserialize()and Autoloading Classes.unserialize_max_depthintThe maximum depth of structures permitted during unserialization when using
unserialize(), and is intended to prevent stack overflows. This can be disabled by settingunserialize_max_depth=0.See also
unserialize()and Autoloading Classes.