Re: [PHP-DEV] RFC: Support for multi-line arrow functions

2020-10-29 Thread Sara Golemon
On Mon, Oct 5, 2020 at 5:09 AM Lynn wrote: > How should php deal with the scenario where you want to `use` everything > and have one variable by reference? > > ``` > function () use (*, &$butNotThisOne) {}; > ``` I would take a page out of C++'s book here. In C++ a closure is (some of these bits

Re: [PHP-DEV] RFC: Support for multi-line arrow functions

2020-10-29 Thread Benjamin Morel
On Tue, 6 Oct 2020 at 14:09, G. P. B. wrote: > And once *again* short-closure don't *just* have the auto-import of the > outer scope going for it. > The other main features of the short closure are not applicable to a block > syntax. > - the fact that there is an implicit return > - it is a sin

[PHP-DEV] PHP 7.4.12 Released!

2020-10-29 Thread Derick Rethans
The PHP development team announces the immediate availability of PHP 7.4.12. This is a security bug fix release. All PHP 7.4 users are encouraged to upgrade to this version. For source downloads of PHP 7.4.12 please visit our downloads page. Windows binaries can be found on the PHP for Windows si

[PHP-DEV] Re: [PHP-CVS] com php-src: Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper: NEWS UPGRADING ext/standard/http_fopen_wrapper.c

2020-10-29 Thread Derick Rethans
Hi, On Thu, 29 Oct 2020, Dmitry Stogov wrote: > On Thu, Oct 29, 2020 at 2:18 PM Derick Rethans wrote: > > > what is the reason for this change? It breaks some introspection > > code that I am working on that expects the http_response_header > > variable to always be set for stream wrappers, e

[PHP-DEV] Re: [PHP-CVS] com php-src: Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper: NEWS UPGRADING ext/standard/http_fopen_wrapper.c

2020-10-29 Thread Dmitry Stogov
Hi Derick, On Thu, Oct 29, 2020 at 2:18 PM Derick Rethans wrote: > Hi Dmitry, > > what is the reason for this change? It breaks some introspection code > that I am working on that expects the http_response_header variable to > always be set for stream wrappers, even if it's not used in code. >

[PHP-DEV] PHP 8.0.0 RC3 Ready for Testing

2020-10-29 Thread Gabriel Caruso
PHP 8.0.0 RC3 has just been released and can be downloaded from https://downloads.php.net/~carusogabriel Or use the git tag: `php-8.0.0RC3` Windows binaries are available at https://windows.php.net/qa 8.0.0 Release Candidate 4 should be expected in 2 weeks, i.e. on Nov 12, 2020. The time to tes

[PHP-DEV] Re: [PHP-CVS] com php-src: Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper: NEWS UPGRADING ext/standard/http_fopen_wrapper.c

2020-10-29 Thread Derick Rethans
Hi Dmitry, what is the reason for this change? It breaks some introspection code that I am working on that expects the http_response_header variable to always be set for stream wrappers, even if it's not used in code. As this is a late behavioural changes, I am also wondering whether this shou

[PHP-DEV] PHP 7.3.24 Released!

2020-10-29 Thread Christoph M. Becker
The PHP development team announces the immediate availability of PHP 7.3.24. This is a bug fix release. All PHP 7.3 users are encouraged to upgrade to this version. For source downloads of PHP 7.3.24 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The