[php-src] Issue #8296: Numeric casts must emit a warning it they do not make sense
| From: | cmb69 | Date: | Mon, 04 Apr 2022 10:36:18 +0000 |
| Subject: | [php-src] Issue #8296: Numeric casts must emit a warning it they do not make sense | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240654@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8296
Comment Author: cmb69
As designed, casts just enforce type conversion; it's basically the programmer saying
"I'm a big boy, I know what I'm doing". Changing that long-standing behavior
would require the [RFC process](https://wiki.php.net/rfc/howto).