Re: [PHP-DEV] Strict switch statements

2018-06-13 Thread Andrey Andreev
Hi, On Thu, Jun 14, 2018 at 7:53 AM, Sara Golemon wrote: > Just for casual discussion at this point: > https://github.com/php/php-src/pull/3297 > > switch ($a) { > case FOO: > // Works exactly as current behavior. > break; > case == FOO: > // Nearly identical, though not

[PHP-DEV] Strict switch statements

2018-06-13 Thread Sara Golemon
Just for casual discussion at this point: https://github.com/php/php-src/pull/3297 switch ($a) { case FOO: // Works exactly as current behavior. break; case == FOO: // Nearly identical, though not using the ZEND_CASE optimization. // Can probably make this equivalent to

Re: [PHP-DEV] Re: [RFC] orphan extensions cleanup

2018-06-13 Thread Stanislav Malyshev
Hi! > That said, in my opinion it is too late for 7.3 to move a bundled > extension to PECL, except perhaps for unresolved or even unresolvable > security reasons. ext/wddx comes to mind, and maybe there are others. I'd be happy to move wddx if nobody steps up to maintain it. It has tons of

[PHP-DEV] Re: [RFC] orphan extensions cleanup

2018-06-13 Thread Christoph M. Becker
On 12.06.2018 at 22:09, Stanislav Malyshev wrote: > Yes, I think having some rules on maintainership would be nice, right > now I haven't even considered extensions which have maintainers listed > but no longer active, etc. - though I suspect those exist too. […] >From looking at current

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

2018-06-13 Thread Christoph M. Becker
On 13.06.2018 at 21:26, Enno Woortmann wrote: > I've changed the status of the currently introduced RFC to add the > functions array_key_first() and array_key_last() to "Under Discussion". > > https://wiki.php.net/rfc/array_key_first_last Thanks for working on this, Enno! I suggest to address

Re: [PHP-DEV] Re: [RFC] orphan extensions cleanup

2018-06-13 Thread Christoph M. Becker
On 13.06.2018 at 16:48, Sara Golemon wrote: > On Tue, Jun 12, 2018 at 4:09 PM, Stanislav Malyshev > wrote: > >> I'm not sure it's too late for 7.3. If we see that the extension is >> unmaintained, we could move it out for 7.3 I think. > > Well, you and cmb are the RMs for 7.3, so you get the

Re: [PHP-DEV] Re: [RFC] orphan extensions cleanup

2018-06-13 Thread Christoph M. Becker
On 12.06.2018 at 23:33, Stanislav Malyshev wrote: >>> I'm afraid this might be misused.  It's too easy to update the year >>> number, without actually doing *any* real maintenance work (“I'll come >>> back to that later” …).  Some automated process would be nice, but >>> manually checking the bug

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

2018-06-13 Thread Enno Woortmann
Hello internals, I've changed the status of the currently introduced RFC to add the functions array_key_first() and array_key_last() to "Under Discussion". https://wiki.php.net/rfc/array_key_first_last Regards, Enno -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] Re: [RFC] orphan extensions cleanup

2018-06-13 Thread Sara Golemon
On Tue, Jun 12, 2018 at 4:09 PM, Stanislav Malyshev wrote: > I'm not sure it's too late for 7.3. If we see that the extension is > unmaintained, we could move it out for 7.3 I think. > Well, you and cmb are the RMs for 7.3, so you get the largest say in that, but IMO we won't finish sorting out

Re: [PHP-DEV] [VOTE] Make compact function reports undefined passed variables

2018-06-13 Thread Dmitry Stogov
On Jun 10, 2018 10:46 PM, "Hoffman, Zachary Robert" wrote: >The existence of anything that internally relies on `get_defined_vars()` is a >blocker for applying further optimisations to the engine (think stack frames), >which is probably why Dmitry suggested its removal. I did not know it was