[PHP-DEV] "Namespaces in bundled extensions" and iterable additions to the standard library

2021-06-01 Thread tyson andre
Hi internals, Recently, there have been 3 proposals to add functionality related to iterables/iterators to the standard library where voting was postponed for reasons related to namespacing policy: 1. https://wiki.php.net/rfc/any_all_on_iterable - where major objections were not having enough

[PHP-DEV] Regarding array_shift()/array_unshift()

2021-06-01 Thread Mike Schinkel
Hi Nikita, >> On May 28, 2021, at 10:31 AM, Nikita Popov > > wrote: > >> I don't think there's much need for mutable operations. sort() and shuffle() >> would be best implemented by returning a new array instead. array_push() is >> redundant with $array[]. array_shi

Re: [PHP-DEV] [Vote] Auto-capture multi-line closures

2021-06-01 Thread Larry Garfield
On Mon, May 31, 2021, at 3:45 PM, Larry Garfield wrote: > Greetings, Internalians. After a bit of a delay, I have opened the > vote for auto-capturing multi-line closures. > > https://wiki.php.net/rfc/auto-capture-closure > > The vote closes Monday 14 June. > > Prior discussion thread: https:/

[PHP-DEV] [Vote] Short functions

2021-06-01 Thread Larry Garfield
Hello again. I have also opened the vote for short-functions. https://wiki.php.net/rfc/short-functions The vote closes Monday 14 June. -- Larry Garfield la...@garfieldtech.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

[PHP-DEV] [Vote] Auto-capture multi-line closures

2021-06-01 Thread Larry Garfield
Greetings, Internalians. After a bit of a delay, I have opened the vote for auto-capturing multi-line closures. https://wiki.php.net/rfc/auto-capture-closure The vote closes Monday 14 June. Prior discussion thread: https://externals.io/message/113740 -- Larry Garfield la...@garfieldtech.

[PHP-DEV] [RFC] Under Discussion: Add Random class and RandomNumberGenerator interface

2021-06-01 Thread Go Kudo
Hello internals. Thanks for continuing to participate in the discussion. I've sorted out the proposal, and finished writing and implementing the RFC. (Funny, I know.) I think it's time to start a discussion. https://wiki.php.net/rfc/rng_extension https://github.com/php/php-src/pull/7079 The main

[PHP-DEV] [VOTE] Allow static properties in enums

2021-06-01 Thread tyson andre
Hi internals, I have opened the vote on https://wiki.php.net/rfc/enum_allow_static_properties Voting ends on June 15, 2021 Previous discussion can be found at https://externals.io/message/114494 Thanks, Tyson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://

Re: [PHP-DEV] Re: [RFC] [Draft] Add Randomizer class (before: Add RNG extension)

2021-06-01 Thread Nikita Popov
On Mon, May 31, 2021 at 4:04 PM Go Kudo wrote: > Hi Internals. > Hi :) Thanks for your continued work on this RFC. This is a tough one, with a lot of feedback, some of it contradictory. I'm still going to add my 2c... I think that this proposal can basically work out in two ways: 1. Pragmatic: