[RFC] Deprecate Fuzzy Type Casts and Allow Stringable in Strict Mode
| From: | Alexandre Daubois | Date: | Fri, 23 Jan 2026 10:48:45 +0000 |
| Subject: | [RFC] Deprecate Fuzzy Type Casts and Allow Stringable in Strict Mode | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-129884@lists.php.net to get a copy of this message | ||
Hello everyone,
Before going further with our already under discussion RFC about
nullable casts, Nicolas Grekas and I would like to present this new
RFC about deprecating fuzzy casts, and adding support for Stringable
in string parameters when using strict mode.
RFC: https://wiki.php.net/rfc/deprecate-fuzzy-casts
Thanks,
— Alexandre Daubois