On 2024.05.08 16:40, Gina P. Banyard wrote:
Hello Internals,
I would like to formally propose my idea for exit() as a function brought up to
the list on 2024-02-24 [1] with the following RFC:
https://wiki.php.net/rfc/exit-as-function
There have been some slight tweaks to the implementation, na
On 2024.04.07 17:20, Joshua Rüsweg wrote:
Hi
I have created an RFC to add the function array_find which returns the
first element for which a predicate callback returns true. This is a
function which I missed often. Furthermore this type of function is
implemented with other programming langua
On 4/5/2025 6:51 PM, Niels Dossche wrote:
Hi internals
I'm opening the discussion for the RFC "array_first() and array_last()".
https://wiki.php.net/rfc/array_first_last
Kind regards
Niels
-1 because returning `null` for empty arrays is still wrong. Whatever
similar behavior exists should b
As Kamil mentioned, this is not limited to a single function but to
array type as a whole. See previous discussion
https://externals.io/message/116735.
On 5/24/2025 6:43 PM, 马正强 wrote:
I propose adding a |preserve_key_types| parameter to |array_keys()| to
address issues caused by automatic c
We propose to deprecate the following non-standard cast names:
*
|(integer)|
*
|(boolean)|
*
|(double)|
*
|(binary)|
Hello,
Just wondering is this going to affect `settype()` function? There is
already some disparity in that `settype()` supports
`integer/boolean/double`
On 7/10/2025 12:23 AM, Claude Pache wrote:
Le 9 juil. 2025 à 14:21, Gina P. Banyard a écrit :
On Wednesday, 9 July 2025 at 08:17, Daikaras
wrote:
We propose to deprecate the following non-standard cast names:
*
|(integer)|
*
|(boolean)|
*
|(double)|
*
|(binary