> Yes, PHP 8 for BCs and PHP 7.4 for warnings that's what I was trying to
said

FWIW, I don't think anyone will complain about adding a warning to
something that's obviously a bug when it fails.
I'd say go ahead a write an RFC. If you want to have more chances for it to
pass though, I would not change the semantics of the current conversions
from string to decimal (what's considered a valid decimal number and what's
not). I would just propose to add a warning when an argument is converted
to zero because it is *currently* considered malformed.

- Ben

Reply via email to