Re: [PHP-DEV] [RFC][Under Discussion] Add functions array_key_first()and array_key_last()

2018-06-18 Thread Christoph M. Becker
On 18.06.2018 at 00:09, Enno Woortmann wrote: > In my opinion that's the argument to return null for either parameters > which aren't an array or empty arrays simply because a first/last key > isn't present and null is the value to be returned for an undefined state. > I've tested this behavior wi

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions

2018-06-18 Thread Peter Cowburn
On 17 June 2018 at 20:43, Stanislav Malyshev wrote: > Hi! > > I would like to open the vote for the RFC about cleaning up the > unmaintained extensions: > > https://wiki.php.net/rfc/umaintained_ejkxtensions > > > The vote ends 2018-06-26 23:59 PDT

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions

2018-06-18 Thread Sara Golemon
On Sun, Jun 17, 2018 at 3:43 PM, Stanislav Malyshev wrote: > I would like to open the vote for the RFC about cleaning up the > unmaintained extensions: > > https://wiki.php.net/rfc/umaintained_extensions > > The vote ends 2018-06-26 23:59 PDT. > > I have added some discussion about active maintain

Re: [PHP-DEV] [RFC] [VOTE] Cleaning up unmaintained extensions

2018-06-18 Thread Christoph M. Becker
On 18.06.2018 at 14:23, Peter Cowburn wrote: > On 17 June 2018 at 20:43, Stanislav Malyshev wrote: > >> I would like to open the vote for the RFC about cleaning up the >> unmaintained extensions: >> >> https://wiki.php.net/rfc/umaintained_ejkxtensions >>

Re: [PHP-DEV] [RFC][Under Discussion] Add functions array_key_first()and array_key_last()

2018-06-18 Thread Larry Garfield
On Monday, June 18, 2018 4:25:27 AM CDT Christoph M. Becker wrote: > On 18.06.2018 at 00:09, Enno Woortmann wrote: > > In my opinion that's the argument to return null for either parameters > > which aren't an array or empty arrays simply because a first/last key > > isn't present and null is the v

Re: [PHP-DEV] [RFC][Under Discussion] Add functions array_key_first()and array_key_last()

2018-06-18 Thread Christoph M. Becker
On 18.06.2018 at 17:32, Larry Garfield wrote: > Can we please never return false for error/not-found, ever, period, forever > more? It's a fundamentally broken idiom that needs to die. “But wait!” some cry. “What about consistency with existing functions?” -- Christoph M. Becker -- PHP Int

[PHP-DEV] [RFC][Accepted] Make compact function reports undefined passed variables

2018-06-18 Thread Gabriel Caruso
Hi, internals Is my pleasure to announce that the "Make compact function reports undefined passed variables" RFC was accepted with *32* votes against *5*. The PR with the implementation can be found at https://github.com/php/php-src/pull/3240 Thank you all for your feedback on this one. Regards