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 - This method will return true if all elements in the provided array are empty, and false otherwise.
Dude... what? https://wiki.php.net/rfc/array_find


Please try to be polite, and remember that just because something seems obvious to you, that doesn't mean everyone else in the world already knows it.

How about we re-word with that in mind:


Hi Elminson,

As it happens, there has been a recent proposal which includes "array_any" and "array_all" functions, which could be combined with the existing "empty" function to achieve these results.

You can find the RFC here: https://wiki.php.net/rfc/array_find and the mailing list discussion here: https://externals.io/message/123015

Regards,

--
Rowan Tommins
[IMSoP]

Reply via email to