Re: [RFC] Scalar Type Hinting With Casts (re-opening)

From: Date: Tue, 15 Jul 2014 10:55:42 +0000
Subject: Re: [RFC] Scalar Type Hinting With Casts (re-opening)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-75529@lists.php.net to get a copy of this message
On Mon, 14 Jul 2014, Stas Malyshev wrote:

> > In general, I am not in favour of casting typehints, as it would be 
> > a different behaviour from the hard-check typehints that we already 
> > have for classes and arrays.
> 
> It already is. All internal functions behave this way.

But casting typehints is a userland feature, not an internal function.

cheers,
Derick


Thread (250 messages)

« previous php.internals (#75529) next »