Re: [RFC] Warning for implicit float to int conversions

From: Date: Sat, 06 Feb 2021 10:50:01 +0000
Subject: Re: [RFC] Warning for implicit float to int conversions
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-113100@lists.php.net to get a copy of this message
On 5 February 2021 23:45:59 GMT, David Gebler <davidgebler@gmail.com> wrote: >I still think a warning is too high an error level for this and would >favour a notice or deprecation, were it to be done at all. I'd just like to point out that a deprecation notice implies (or should imply!) that the behaviour will be completely removed in a future version. So it doesn't really make sense to say "a warning is too much, but I'm fine with it being an error in the future". Probably, E_DEPRECATED shouldn't be considered its own severity level, but an extra flag paired with either E_WARNING or E_NOTICE. Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#113100) next »