RE: [PHP-DEV] [VOTE] Scalar Type Hints

From: Date: Wed, 11 Feb 2015 21:30:57 +0000
Subject: RE: [PHP-DEV] [VOTE] Scalar Type Hints
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:[email protected]]
> Sent: Wednesday, February 11, 2015 8:37 AM
> To: Xinchen Hui; Andrea Faulds
> Cc: PHP Internals
> Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints
>
> On 02/10/2015 07:57 PM, Xinchen Hui wrote:
> >> am I wrong?!
> > seems I am wrong with this, it's a false alarm...  it can restore
> automatically.
>
> Yeah, declare() doesn't span files so that isn't a problem.
>
> My worry is still the lack of type coercion for internal calls.

There's also some pretty interesting analysis on this proposal - based on
some real world experimentation - from Benjamin Eberlei - bit.ly/1vl0UED

If you've voted on this RFC or intend to vote - please spend the few minutes
to read through his blog post.  It does a good job at actually illustrating
what life would look like if this rubber ends up meeting the road.

Zeev


Thread (187 messages)

« previous php.internals (#82494) next »