Re: [PHP-DEV] Change default branch in GitHub for php-src

2019-02-22 Thread Sebastian Bergmann
On 2/22/19 7:00 PM, Gabriel Caruso wrote: So, I'd like to propose that the default branch should be *`PHP-7.4`*. Makes sense to me. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Change default branch in GitHub for php-src

2019-02-22 Thread Gabriel Caruso
Hi everyone, how are you doing? I'd like to discuss the change of the default branch in GitHub for `php-src`. Today, the default branch is `master`, aka PHP 8.0, but, the development of `PHP 7.4` is still ongoing, and there's a lot of stuff that we should merge into it, instead of just master. The

[PHP-DEV] Notes on RFCs that didn't get approved

2019-02-22 Thread Dan Ackroyd
Hi internals, fyi I have made some notes on previous RFCs that seemed to be well received in general but then didn't actually get approved. https://github.com/danack/RfcCodex The aim of these notes is to make it easier for people to see what happened to those previous RFCs and what hurdles they

Re: [PHP-DEV] Re: Revive old "anonymous exception" RFC

2019-02-22 Thread Rowan Collins
On Fri, 22 Feb 2019 at 16:24, Dan Ackroyd wrote: > On Fri, 22 Feb 2019 at 13:28, Christoph M. Becker > wrote: > > > > However, before editing that RFC, please > > try to reach out to the original author asking for permission. > > Or, better yet imo, please create a new document, referencing the

Re: [PHP-DEV] Re: Revive old "anonymous exception" RFC

2019-02-22 Thread Dan Ackroyd
On Fri, 22 Feb 2019 at 13:28, Christoph M. Becker wrote: > > However, before editing that RFC, please > try to reach out to the original author asking for permission. Or, better yet imo, please create a new document, referencing the earlier document. I've been doing some work recently to summari

Re: [PHP-DEV][RFC] Cast in foreach

2019-02-22 Thread Chris Riley
Cast would work for both key and value, although I think the instances where you need to cast a key will be fewer. On Thu, Feb 21, 2019, 15:08 Legale.legale wrote: > what about: > > foreach($array as $i=>$v) {} > > ?On Feb 21, 2019 13:15, Chris Riley wrote: > > > > Hi internals, > > > > I'd lik

Re: [PHP-DEV][RFC] Cast in foreach

2019-02-22 Thread Chris Riley
In this instance, I would expect the cast to come before each variable eg foreach ($data as ["id" => (int) $id, "name" => (string) $name]) On Thu, Feb 21, 2019, 13:28 Kalle Sommer Nielsen wrote: > Den tor. 21. feb. 2019 kl. 14.16 skrev Chris Riley : > > > > Hi internals, > > > > I'd like to prop

[PHP-DEV] Re: Revive old "anonymous exception" RFC

2019-02-22 Thread Christoph M. Becker
On 22.02.2019 at 13:28, Roland Franssen wrote: > I would like to restart the discussion for RFC > https://wiki.php.net/rfc/anonymous_catch ( > http://news.php.net/php.webmaster/16065) > > It dates back to 2013, however, I think in general it still applies today. > I can make the necessary changes

Re: [PHP-DEV] [RFC] JIT

2019-02-22 Thread Dmitry Stogov
Thanks to Anatol, who started working on Windows build and "enforced" me to implement MSVC support :) On 2/22/19 3:21 PM, Joe Watkins wrote: > Thanks for all the effort Dmitry, it's looking in much better shape. > > Cheers > Joe > > On Fri, 22 Feb 2019 at 13:18, Dmitry Stogov

[PHP-DEV] Revive old "anonymous exception" RFC

2019-02-22 Thread Roland Franssen
Hi Internals, I would like to restart the discussion for RFC https://wiki.php.net/rfc/anonymous_catch ( http://news.php.net/php.webmaster/16065) It dates back to 2013, however, I think in general it still applies today. I can make the necessary changes if needed, but for this i need feedback and

Re: [PHP-DEV] [RFC] JIT

2019-02-22 Thread Joe Watkins
Thanks for all the effort Dmitry, it's looking in much better shape. Cheers Joe On Fri, 22 Feb 2019 at 13:18, Dmitry Stogov wrote: > Hi Internals, > > > The RFC and implementation was updated once again. > > > https://wiki.php.net/rfc/jit > > > Now JIT supports PHP builds with compilers without

Re: [PHP-DEV] [RFC] JIT

2019-02-22 Thread Dmitry Stogov
Hi Internals, The RFC and implementation was updated once again. https://wiki.php.net/rfc/jit Now JIT supports PHP builds with compilers without GCC explicit global register variables extension. This means we support CLANG/LLVM (Tested on Linux. Should work on Mac as well) and MSVC. Compl

[PHP-DEV] [RFC][Vote] Weakrefs

2019-02-22 Thread Joe Watkins
Morning all, The vote for weakrefs is open: https://wiki.php.net/rfc/weakrefs Cheers Joe

[PHP-DEV] [RFC] [Accepted] Abolish Narrow Margins

2019-02-22 Thread Joe Watkins
Morning all, The abolish narrow margins RFC has been accepted and the Voting RFC has been updated and had it's version changed to 1.1 Cheers Joe

Re: [PHP-DEV] Optional catch binding

2019-02-22 Thread Roland Franssen
Turns out this is a duplicate request. https://wiki.php.net/rfc/anonymous_catch https://externals.io/message/67786 I'm not sure how to move forward from here on. Feel free to take over the existing RFC and implement it :) (Im not a C developer). Roland, Op do 21 feb. 2019 om 19:56 schreef Gabri