On 22/05/2024 19:47, Niels Dossche wrote:
> Okay, that seems reasonable to me and I can do that.
> I'll make them return static and do "new static()" like I proposed with the
> new static method.
>
> For XMLWriter, I suppose we also want the static counterparts:
> * `XMLWriter::toMemory()` for `(
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 - This method will return true if a
Dear PHP Internals Team,
I hope this message finds you well. I am writing to request RFC karma for
my wiki account in order to propose a new RFC.
My proposal involves the introduction of two new methods, any_empty and
all_empty, for working with arrays. These methods are designed to provide
boole
On Mon, May 27, 2024 at 14:21 Alexandru Pătrănescu
wrote:
>
> On Mon, May 27, 2024 at 7:16 AM Valentin Udaltsov <
> udaltsov.valen...@gmail.com> wrote:
>
>> Hello, internals!
>>
>> Here's the idea: let's extract `ArrayAccess::offsetExists` and
>> `ArrayAccess::offsetGet` methods into a separate `
On Mon, May 27, 2024 at 7:16 AM Valentin Udaltsov <
udaltsov.valen...@gmail.com> wrote:
> Hello, internals!
>
> Here's the idea: let's extract `ArrayAccess::offsetExists` and
> `ArrayAccess::offsetGet` methods into a separate `ArrayAccessRead`
> interface (name can be different) and allow read ope