> -----Original Message-----
> From: Andrey Andreev [mailto:n...@devilix.net]
> Sent: Thursday, October 23, 2014 1:15 AM
> To: Zeev Suraski
> Cc: Andrea Faulds; Stas Malyshev; Dmitry Stogov; PHP Internals
> Subject: Re: [PHP-DEV] [RFC] Safe Casting Functions
>
> > While it doesn't explicitly say so, it's clear that one of the goals
> > of the RFC is make it easier for a 'strict typing' RFC to be accepted
> > in the future.  This is a clear indication this constitutes a
> > fundamental
> change to the core language.
>
> I'd argue that it has the exact opposite goal - to be able to say "use
> to_string(), to_int(), etc; we don't need strict type hinting".

You may be right, I may have misinterpreted the rationale - but I think the
consequences are still the same.  If this (in the eyes of the author) undoes
the need for a feature as fundamental as strict typing, how can it be just a
bunch of simple functions?

Zeev

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

Reply via email to