Re: [PHP-DEV] Long-Term Planning for PHP 9.0 Error Promotion

2022-02-04 Thread BohwaZ
Same thing, not everyone wants to use strict types, and the change in PHP 8.1 is a pain, adding (string) everywhere just means adding more code with no gain just to get around a limitation of the language. So thank you Craig for this RFC :) -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] Re: Adding `final class Deque` to PHP

2022-02-04 Thread tyson andre
Hi internals, > > I've created a new RFC https://wiki.php.net/rfc/deque to add a `final class > > Deque` > > > > This is based on the `Teds\Deque` implementation I've worked on > > for the https://github.com/TysonAndre/pecl-teds PECL. > > > > While `SplDoublyLinkedList` and its subclass `SplQueue

Re: [PHP-DEV] RFC [Discussion]: Redacting parameters in back traces

2022-02-04 Thread Tim Düsterhus , WoltLab GmbH
Hi Alex On 2/1/22 07:38, Alexandru Pătrănescu wrote: I think storing the original value within the replacement value should be considered and voted in this RFC as well, even if implemented in a separate PR. I did write some code where I process programmatically the backtraces and while I might n