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
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
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
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
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 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
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
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