On 04/06/2024 21:18, Rowan Tommins [IMSoP] wrote:
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]
Hi all,
I would like to retract my original reply and apologise to everyone.
Originally I thought the OP was submitting an identical proposal, but he
was not, and that is on me for not reading properly. In any case, you're
right I should have been more courteous. Hope there are no hard feelings.
Kind regards,
Bilge