[RFC][Discussion] NotSerializable attribute
| From: | Max Semenik | Date: | Sat, 09 Dec 2023 12:30:29 +0000 |
| Subject: | [RFC][Discussion] NotSerializable attribute | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-121969@lists.php.net to get a copy of this message | ||
Hi, I'd like to propose a new attribute, #[NotSerializable]. This
functionality is already available for internal classes - userspace should
benefit from it, too.
The RFC: https://wiki.php.net/rfc/not_serializable
Proposed implementation: https://github.com/php/php-src/pull/12788
Please let me know what you think.
--
Best regards,
Max Semenik