Hi
I've now written up an RFC as a follow-up for the "What type of
Exception to use for unserialize() failure?" thread [1]:
----
RFC: Improve unserialize() error handling
https://wiki.php.net/rfc/improve_unserialize_error_handling
Proof of concept implementation is in:
https://github.com/php/php-src/pull/9425
Discussion period for that RFC is officially opened up.
----
The primary point of discussion in the previous mailing list thread and
in the PR comments is whether unserialize() should continue to emit
E_WARNING or whether that should consistently be changed to an
Exception. As of now I plan to explicitly vote on this and the RFC
contains some opinions on that matter.
Best regards
Tim Düsterhus
[1] https://externals.io/message/118311
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php