mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +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.