Re: Unserializes, inheritance and allows_classes
| From: | Marco Pivetta | Date: | Fri, 18 Jan 2019 01:03:27 +0000 |
| Subject: | Re: Unserializes, inheritance and allows_classes | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103761@lists.php.net to get a copy of this message | ||
On Fri, Jan 18, 2019 at 2:00 AM Marcos Passos <marcospassos.com@gmail.com>
wrote:
> How would you fix this example, then? Perhaps we should add more examples
> in the docs.
>
You'd include all expected child classes in the list of
allowed_classes.
As for the docs, feel free to go ahead and edit them directly :+1:
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/