Re: Scalar Type Hints v0.4

From: Date: Wed, 18 Feb 2015 14:59:27 +0000
Subject: Re: Scalar Type Hints v0.4
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-83076@lists.php.net to get a copy of this message
On 18 February 2015 at 13:30, François Laupretre <francois@php.net> wrote: > Actually, your example is partially invalid because strict-typing radicals now propose to add a > (int -> float) exception to so-called strict mode (which proves the approach is flawed, IMHO). Careful, it helps not to call folk "radicals" if you intend to pursue a compromise with them ;). I wouldn't necessarily mind int->float - it's lossless assuming one way only. Paddy -- Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com Zend Framework Community Review Team Zend Framework PHP-FIG Representative

« previous php.internals (#83076) next »