> Am 14.03.2015 um 10:21 schrieb Pavel Kouřil <pajou...@gmail.com>: > > On Saturday, March 14, 2015, Levi Morrison <le...@php.net> wrote: >> RFC Link: https://wiki.php.net/rfc/reserve_more_types_in_php_7 >> >> The proposal has changed from the original. It no longer reserves the >> aliases out of the interest of reserving the smallest useful, >> uncontroversial subset. Some people want to remove aliases for these >> types so in the interest of being as uncontroversial as possible I am >> no longer proposing to remove them. >> >> This will go into voting on March 15th unless something comes up >> between now and then to persuade me otherwise. >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > Hello, > > why do you consider a "true" and "false" as a type? It's not a type. it's a > value? > > Regards > Pavel Kouril
These aren't types. But useful for e.g. union types (int|false). [By the way they're internally handled as different types… but that's an implementation detail…] Also, he doesn't call them anywhere types, it's just the title. Bob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php