[PHP-DEV] Union types | true pseudo-type

2020-01-20 Thread Benjamin Morel
Hi internals, I'd like to bring back the topic of supporting "true" as a type in PHP 8 union types. Now that the RFC has been successfully voted, I'd like to revive the discussion about adding the "true" pseudo-type in addition to "false". In addition to

[PHP-DEV] WeakMap vs PECL WeakMap

2020-01-20 Thread Benjamin Morel
Hi Internals, A year ago, when WeakRef was being proposed, some objections related to the PECL Weakref package had lead the RFC author, Joe Watkins, to rename WeakRef to WeakReference to avoid conflicts.

Re: [PHP-DEV] Union types | true pseudo-type

2020-01-20 Thread Jordi Boggiano
On 20/01/2020 18:30, Benjamin Morel wrote: I'd like to bring back the topic of supporting "true" as a type in PHP 8 union types. Now that the RFC has been successfully voted, I'd like to revive the discussion about adding the "true" pseudo-type in