array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'splfixedarray.wakeup.php', 1 => 'SplFixedArray::__wakeup', 2 => 'Reinitialises the array after being unserialised', ), 'up' => array ( 0 => 'class.splfixedarray.php', 1 => 'SplFixedArray', ), 'prev' => array ( 0 => 'splfixedarray.valid.php', 1 => 'SplFixedArray::valid', ), 'next' => array ( 0 => 'class.arrayobject.php', 1 => 'ArrayObject', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splfixedarray/wakeup.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplFixedArray::__wakeup

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

SplFixedArray::__wakeupReinitialises the array after being unserialised

警告

此函数自 PHP 8.4.0 起弃用。强烈建议不要应用此函数。

说明

#[\Deprecated]
public SplFixedArray::__wakeup(): void

Reinitialises the array after being unserialised.

参数

此函数没有参数。

返回值

没有返回值。

更新日志

版本 说明
8.4.0 This method is now deprecated, use SplFixedArray::__unserialize() instead.