Dutch PHP Conference 2025 - Call For Papers

Налаштування під час виконання

На поведінку цих функцій випливають налаштування в php.ini.

Variables Configuration Options
Назва Початково Де можна змінювати Журнал змін
unserialize_callback_func null INI_ALL  
unserialize_max_depth "4096" INI_ALL Available as of PHP 7.4.0.
Докладніша інформація та визначення режимів INI_* на сторінці Де можна встановлювати параметри конфігурації.

Тут є коротке пояснення директив конфігурації.

unserialize_callback_func string

The 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_depth int

The maximum depth of structures permitted during unserialization when using unserialize(), and is intended to prevent stack overflows. This can be disabled by setting unserialize_max_depth=0.

See also unserialize() and Autoloading Classes.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top