Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SplFixedArray::validArrayObject>
^SplFixedArrayLast updated: Mon, 26 Oct 2026

SplFixedArray::__wakeup

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

SplFixedArray::__wakeup — Reinitialises the array after being unserialised

Warning

This function has been DEPRECATED as of PHP 8.4.0. Relying on this function is highly discouraged.

Description

#[\Deprecated(
    since: '8.4',
    message: 'this method is obsolete, as serialization hooks are provided by __unserialize() and __serialize()',
)]

public function SplFixedArray::__wakeup(): void

Reinitialises the array after being unserialised.

Parameters

This function has no parameters.

Return Values

No value is returned.

Changelog

Version Description
8.4.0 This method is now deprecated, use SplFixedArray::__unserialize() instead.

<SplFixedArray::validArrayObject>
^SplFixedArrayLast updated: Mon, 26 Oct 2026