Re: [RFC] Deprecations for PHP 8.5
| From: | Gina P. Banyard | Date: | Wed, 09 Jul 2025 12:21:43 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127968@lists.php.net to get a copy of this message | ||
On Wednesday, 9 July 2025 at 08:17, Daikaras <webmaster@daikaras.lt> wrote:
>> We propose to deprecate the following non-standard cast names:
>>
>> - (integer)
>> - (boolean)
>> - (double)
>> - (binary)
>
> Hello,
>
> Just wondering is this going to affect
settype() function?
> There is already some disparity in that settype() supports
> integer/boolean/double but not
> binary type (and additionally supports
> null type).
I wasn't aware of the discrepencies with settype() so I added the deprecation of non-canonical
type names to settype() as its own deprecation entry in the ext/standard section.
Thanks for bringing this to my attention!
Best regards,
Gina P. Banyard