Re: [PHP-DEV] RFC [Discussion]: array_find

2024-05-01 Thread Joshua Rüsweg
Hi On 01.05.24 12:26, Larry Garfield wrote: This looks good to me, with one remaining exception, which isn't specific to this function but should still be discussed: Always passing the value and key to the callback is unsafe, for two reasons. 1. If the callback is an internal function rather

Re: [PHP-DEV] RFC [Discussion]: array_find

2024-05-01 Thread Joshua Rüsweg
Hi On 19.04.24 23:29, Tim Düsterhus wrote:> Thinking about this: I believe that it would make sense to bundle array_any and array_every (or array_all, see below) within the same RFC due to the similarity. It can be a separate vote for those two, but having the option of getting all three

Re: [PHP-DEV] Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver

2024-05-01 Thread Gina P. Banyard
On Tuesday, 30 April 2024 at 22:33, Kamil Tekiela wrote: > I see absolutely no reason to do this. There is no difference between > MySQL and MariaDB in terms of PDO. Sure, the actual RDBMSs have > differences, but they play no role when it comes to PDO. > If MariaDB decides to change the

Re: [PHP-DEV] RFC [Discussion]: array_find

2024-05-01 Thread Larry Garfield
On Tue, Apr 23, 2024, at 7:53 PM, Joshua Rüsweg wrote: > Hi > > On 19.04.24 21:20, Joshua Rüsweg wrote: >> I definitely see the point where there is an advantage to having two >> separate methods and can definitely understand that it is easier for >> developers to understand the control flow

[PHP-DEV] [RFC] [vote] Support object type in BCMath

2024-05-01 Thread Saki Takamachi
Hi all! Voting for RFC: Support object type in BCMath has started. Voting ends on 2024-05-16 00:00 GMT. https://wiki.php.net/rfc/support_object_type_in_bcmath Regards, Saki