Re: [RFC] Soft-Deprecate __sleep() and __wakeup()
| From: | Hans Krentel | Date: | Fri, 12 Sep 2025 21:34:16 +0000 |
| Subject: | Re: [RFC] Soft-Deprecate __sleep() and __wakeup() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128690@lists.php.net to get a copy of this message | ||
On Friday 05 September 2025 17:53:20 (+02:00), Nicolas Grekas wrote:
Hello internals, Following the discussion that started at https://externals.io/message/128226#128456 I wrote this RFC to formalize our consensus on the topic. TL;DR, this is about converting the deprecation of __sleep and __wakeup to
a documentation-based soft deprecation: https://wiki.php.net/rfc/soft-deprecate-sleep-wakeupThat's very interesting! Didn't know it's possible to soft-deprecate in PHP. And by chance if you know it: Where is the database of all soft-deprecations PHP has so far? Hypertext reference appreceated. -- hakre