Hi Andrea, On Tue, Oct 21, 2014 at 7:57 AM, Andrea Faulds <a...@ajf.me> wrote:
> I am presenting a new RFC to add a set of three functions to do validated > casts for scalar types: > > https://wiki.php.net/rfc/safe_cast > I like this RFC overall. Precise parameter checks is good for security always. I would like to have DbC to harden app security as well. I'm looking for something like D language. http://dlang.org/contracts.html With DbC, checking parameter types/range/etc happen only when development. Therefore, app runs faster for production. All of runtime checks cannot be removed from app code by DbC, so this RFC is nice to have even with DbC. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net