Re: [RFC] [Discussion] Rounding Integers as int
| From: | Saki Takamachi | Date: | Wed, 27 Sep 2023 00:18:08 +0000 |
| Subject: | Re: [RFC] [Discussion] Rounding Integers as int | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121150@lists.php.net to get a copy of this message | ||
Hi, Marc.
There is one additional case to consider.
It's backwards compatible.
If
strict_types is not 1, the code currently out there may be passing
int to these functions.
Therefore, it is better to be aware that such code can have destructive effects, and to consider
whether or not to allow it.
Regards.
Saki