Re: Adding "numeric" type hint
| From: | Dennis Birkholz | Date: | Thu, 30 Apr 2015 14:35:43 +0000 |
| Subject: | Re: Adding "numeric" type hint | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86094@lists.php.net to get a copy of this message | ||
Hi Yasuo,
Am 30.04.2015 um 07:26 schrieb Yasuo Ohgaki:
> "int" Cast is bad. Incorrect "int" type hint worse as it could trigger DoS.
could you please stop arguing with "Denial of Service" for this
behavior? Using a security related term that has nothing to do with the
actual problem is irritating. Using a 32bit machine and producing an
overflow which gracefully aborts your program (by a fatal error or an
exception) is no security issue. It is just a programming error.
Thanks
Dennis