On Thu, Feb 19, 2015 at 5:36 PM, Levi Morrison <le...@php.net> wrote: > I would like to discuss a small RFC for reserving more types in PHP 7: > https://wiki.php.net/rfc/reserve_more_types_in_php_7 > > Essentially it proposes to reserve: > > int, integer > bool, boolean > true, false > float, double > string > null > +1 -- I was planning to put this up today and got waylaid.
On Thu, Feb 19, 2015 at 8:01 PM, François Laupretre <franc...@php.net> wrote: > > Add 'resource', 'object', 'scalar', 'mixed', 'numeric' > > Remove 'double' (avoid this alias if we decide to encourage 'float' > everywhere) > > Hope 'null', 'true', and 'false' can technically be used as type hints. > If not, bad news, especially for null. Love 'int|false' as return type ! > If I were to change one thing, it'd be to add some metatypes (possibly as a > separate vote): > I also agree with everything François said. Reserve these additional types (possibly in a separate vote, up to you). -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php