Re: [PHP-DEV] [RFC] Nullable intersection types

2021-07-29 Thread Brent Roose
Hi internals I wanted to apologise for the poor wording I used in my previous mail when I said "oversight". What I meant to say is what Nicolas described in his followup mail: feature freeze as a time to polish implementations. I personally consider nullability to be more of an implementation p

[PHP-DEV] PHP 8.0.9 Released!

2021-07-29 Thread Gabriel Caruso
The PHP development team announces the immediate availability of PHP 8.0.9. This is a bugfix release. All PHP 8.0 users are encouraged to upgrade to this version. For source downloads of PHP 8.0.9 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The list

[PHP-DEV] PHP 7.4.22 Released!

2021-07-29 Thread Derick Rethans
The PHP development team announces the immediate availability of PHP 7.4.22. This is a security and bug fix release. All PHP 7.4 users are encouraged to upgrade to this version. For source downloads of PHP 7.4.22 please visit our downloads page. Windows binaries can be found on the PHP for Window

[PHP-DEV] PHP 8.1 enum const expressions problem

2021-07-29 Thread Кирилл Несмеянов
Hello internals! I apologize if such a discussion has already taken place, but I didn't find anything like it.   When working with enums, I ran into problems that are currently not resolved.  In some cases, enumerations require self references and constant arithmetic expressions:   enum Example:

Re: [PHP-DEV] PHP 8.1 enum const expressions problem

2021-07-29 Thread Larry Garfield
On Thu, Jul 29, 2021, at 5:16 PM, Кирилл Несмеянов wrote: > > Hello internals! I apologize if such a discussion has already taken > place, but I didn't find anything like it. >   > When working with enums, I ran into problems that are currently not > resolved. In some cases, enumerations require

Fwd: Re[2]: [PHP-DEV] PHP 8.1 enum const expressions problem

2021-07-29 Thread Кирилл Несмеянов
>> >> Hello internals! I apologize if such a discussion has already taken >> place, but I didn't find anything like it. >>   >> When working with enums, I ran into problems that are currently not >> resolved. In some cases, enumerations require self references and >> constant arithmetic expression