Re: Re: [RFC] Reserving More Types in PHP 7

From: Date: Fri, 20 Feb 2015 16:06:19 +0000
Subject: Re: Re: [RFC] Reserving More Types in PHP 7
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-83316@lists.php.net to get a copy of this message
On Thu, Feb 19, 2015 at 11:13 PM, Kalle Sommer Nielsen <kalle@php.net> wrote: > 2015-02-20 2:36 GMT+01:00 Levi Morrison <levim@php.net>: >> int, integer >> bool, boolean >> true, false >> float, double > > I guess we should add 'real' here as well, since we still have the > (real) type cast and is_() type check for consistency: > > C:\dev\php-src>php -r "var_dump((real) 42, is_real(13.37));" > float(42) > bool(true) How do others else feel about this? I am undecided at the moment.

« previous php.internals (#83316) next »