> Since some things might have changed since you last read the RFC, I encourage 
> you to read through it again. If there are any questions which have not yet 
> been covered on the mailing list, feel free to ask them.

  - The RFC does not address how this is different from
FILTER_VALIDATE_* from ext/filter. I know there was a mention of this
on the mailing list, but the RFC should say why a tool that already
exists to solve this kind of problem is insufficient, especially when
it is enabled by default.
  - PHP suffers a lot from function bloat and this RFC provides
multiple functions that do the same thing but differ only in how they
handle errors. A simple validation of "can this be safely cast to an
integer without dataloss?" avoid the issue entirely and would be fewer
functions.

To summarize: I like the idea of having tools that helps us convert
between types in a lossless way, but I don't think this proposal is
what is best for PHP. -1 for me but I hope to see this revisited.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to