Shitpost
Flüpke @fluepke@chaos.social
Content warning: Shitpost
Hi!
Yes, we have a function specifically designed to deserialize data. No, you must not use it to deserialize data.
Yes, it even has an allowed_classes option. No, that doesn't make it safe either. Why would it?
Have you considered JSON instead?
Best regards,
The PHP Team