Re: [RFC] More Appropriate Date/Time Exceptions
| From: | Dan Ackroyd | Date: | Fri, 09 Dec 2022 16:17:14 +0000 |
| Subject: | Re: [RFC] More Appropriate Date/Time Exceptions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119104@lists.php.net to get a copy of this message | ||
On Thu, 8 Dec 2022 at 15:05, Tim Düsterhus <tim@bastelstu.be> wrote:
>
> If your data fails to
> unserialize, the only safe option is to throw it away.
Even given that, you probably want to investigate how it got corrupted
so that you can stop it from happening again. And doing that would
rely on being able to see the data that you attempted to unserialize.
cheers
Dan
Ack