Re: [VOTE][RFC] Safe Casting Functions
| From: | Andrea Faulds | Date: | Fri, 21 Nov 2014 02:08:08 +0000 |
| Subject: | Re: [VOTE][RFC] Safe Casting Functions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79060@lists.php.net to get a copy of this message | ||
> On 21 Nov 2014, at 01:48, Marcio Almada <marcio.web2@gmail.com> wrote:
>
>> Not a voter, but I don't really see the usefulness of this in core either.
>
> True. This could be on packagist or a php ext, but should not be in
> core. Main problem is that it carries too much ambiguity between
> validation and coercion while doesn't solve the real problem: strict
> typing.
I would argue these are a necessary prerequisite to strict typing.
--
Andrea Faulds
http://ajf.me/