News for hackers. Stuff that matters.
Re:A call to PHP's mt_rand generates only odd numbers by FranOntanaya on Friday July 24, 2015 @12:09PM (#9942956)
This was my main doubt about PHP 7's scalar types, which will autocast values into the desired types. I don't expect the caller to know better than the callee what are the method's boundaries, and once casted you may not be able to see if the input was garbage. But yeah, when something breaks the method's author can wash their hands.

There are no comments on this comment yet.