Re: [PHP-DEV] Fwd: Request for RFC Karma to Propose any_empty and all_empty Methods

2024-06-04 Thread Rowan Tommins [IMSoP]
On 27/05/2024 17:56, Bilge wrote: On 27/05/2024 17:51, Elminson De Oleo Baez wrote: Below is a brief overview of the proposed methods: any_empty(array $array): bool - This method will return true if any element in the provided array is empty, and false otherwise. all_empty(array $array): bool

Re: [PHP-DEV] [RFC] Lazy Objects

2024-06-04 Thread Tim Düsterhus
Hi On 6/4/24 14:28, Nicolas Grekas wrote: Please find all the details here: https://wiki.php.net/rfc/lazy-objects We look forward to your thoughts and feedback. I've gave the RFC three or four passes and I'm not quite sure if I follow everything, here's a list of some questions / remarks tha

Re: [PHP-DEV] [RFC] [discussion] Correctly name the rounding mode and make it an Enum

2024-06-04 Thread Tim Düsterhus
Hi On 6/3/24 18:23, Derick Rethans wrote: I would like to start an RFC discussion regarding rounding modes. https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum I think it would be really helpful to have a description (and examples) for each of the rounding modes in th

Re: [PHP-DEV] [RFC] Asymmetric Visibility, v2

2024-06-04 Thread Tim Düsterhus
Hi On 6/4/24 15:30, Larry Garfield wrote: If enough people felt strongly that it should be allowed, I don't think there's any technical reason it couldn't be allowed, other than it would allow some rather silly combinations. (Ilija can tell me if I'm wrong.) However, also note that it is, o

Re: [PHP-DEV] Introduction

2024-06-04 Thread Tim Düsterhus
Hi On 6/4/24 13:57, Bilal Gültekin wrote: I'm Bilal Gultekin (wiki username: bilal). I have almost 20 years of PHP experience. I'd like to follow up on proposed RFCs, comment on them, and maybe create one myself. Commenting on RFCs is done purely on this mailing list. Just chime in whenever y

Re: [PHP-DEV] [RFC] Lazy Objects

2024-06-04 Thread Nicolas Grekas
Hello Valentin, Thanks for having a look. > Arnaud and I are pleased to share with you the RFC we've been shaping for >> over a year to add native support for lazy objects to PHP. >> >> Please find all the details here: >> https://wiki.php.net/rfc/lazy-objects >> >> We look forward to your though

[PHP-DEV] [RFC] [discussion] Correctly name the rounding mode and make it an Enum

2024-06-04 Thread Gina P. Banyard
On Sunday, 2 June 2024 at 22:26, Jorg Sowa wrote: >> by *removing* the newly introduced constant and instead exposing the >> functionality *only* via the new Enum. > It brings inconsistency that some modes are accessible by ints and enums and > others only by enums. If there is no deprecation p

Re: [PHP-DEV] [RFC] Lazy Objects

2024-06-04 Thread Valentin Udaltsov
On June, 4 at 15:32, Nicolas Grekas wrote: > Dear all, > > Arnaud and I are pleased to share with you the RFC we've been shaping for > over a year to add native support for lazy objects to PHP. > > Please find all the details here: > https://wiki.php.net/rfc/lazy-objects > > We look forward to yo

Re: [PHP-DEV] [RFC] Asymmetric Visibility, v2

2024-06-04 Thread Larry Garfield
On Tue, Jun 4, 2024, at 5:01 AM, Andreas Heigl wrote: > There is only one thing that I stumbled upon which struck me as odd: > > > The set visibility, if specified explicitly, MUST be equal to or > > lesser than the main (get) visibility. That is, protected public(set) > > string $foo is not al

[PHP-DEV] [RFC] Lazy Objects

2024-06-04 Thread Nicolas Grekas
Dear all, Arnaud and I are pleased to share with you the RFC we've been shaping for over a year to add native support for lazy objects to PHP. Please find all the details here: https://wiki.php.net/rfc/lazy-objects We look forward to your thoughts and feedback. Cheers, Nicolas and Arnaud

[PHP-DEV] Introduction

2024-06-04 Thread Bilal Gültekin
Hello, I'm Bilal Gultekin (wiki username: bilal). I have almost 20 years of PHP experience. I'd like to follow up on proposed RFCs, comment on them, and maybe create one myself. I'm from Istanbul, Turkey. You can check out my GitHub ( https://github.com/bgultekin) and LinkedIn ( https://www.linke