On Thu, Feb 19, 2015 at 11:13 PM, Kalle Sommer Nielsen <ka...@php.net> wrote: > 2015-02-20 2:36 GMT+01:00 Levi Morrison <le...@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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php