mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
The __wakeup() method is obsolete as a __unserialize() magic method is implemented. Therefore, any class extending from those classes that overload deserialization should call the __unserialize() method instead of __wakeup() to properly handle the deserialization. This deprecation follows the wording of the deprecation of the SplFixedArray::__wakeup() magic method.