這些函式的行為受 php.ini 的影響。
名字 | 預設 | 可修改範圍 | 更新日誌 |
---|---|---|---|
unserialize_callback_func | NULL | PHP_INI_ALL | Available since PHP 4.2.0. |
以下是設定選項的簡要解釋。
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 Objects.