[PHP-DEV] PHP 7.3.26RC1 is available for testing

2020-12-17 Thread Christoph M. Becker
PHP 7.3.26RC1 has just been released and can be downloaded from: Or use the git tag: php-7.3.26RC1 Windows binaries are available at: Please test it carefully, and report any bugs in the bug system. 7.3.26 should be expected

Re: [PHP-DEV] [RFC] Short-match

2020-12-17 Thread Larry Garfield
On Wed, Dec 16, 2020, at 6:49 PM, someniatko wrote: > `match` is an expression, where as if-else construction is not. This > allows for combining it with a potential future feature of single line > functions and methods. For example (hypothetical syntax is used): > > ``` > function

[PHP-DEV] PHP 7.4.14RC1 is available for testing

2020-12-17 Thread Derick Rethans
PHP 7.4.14RC1 has just been released and can be downloaded from: Or use the git tag: php-7.4.14RC1 Windows binaries are available at: Please test it carefully, and report any bugs in the bug system at

Re: [PHP-DEV] [RFC] Short-match

2020-12-17 Thread Sara Golemon
On Wed, Dec 16, 2020 at 6:50 PM someniatko wrote: > > `match` is an expression, where as if-else construction is not. This > allows for combining it with a potential future feature of single line > functions and methods. For example (hypothetical syntax is used): > > ``` > $getNumber = fn(int

Re: [PHP-DEV] [RFC] Short-match

2020-12-17 Thread Claude Pache
> Le 17 déc. 2020 à 17:23, Sara Golemon a écrit : > > On Wed, Dec 16, 2020 at 6:50 PM someniatko wrote: >> >> `match` is an expression, where as if-else construction is not. This >> allows for combining it with a potential future feature of single line >> functions and methods. For example

[PHP-DEV] PHP 8.0.1RC1 is available for testing

2020-12-17 Thread Gabriel Caruso
PHP 8.0.1RC1 has just been released and can be downloaded from: Or use the git tag: php-8.0.1RC1 Windows binaries are available at: Please test it carefully, and report any bugs in the bug system. 8.0.1 should be

[PHP-DEV] [RFC] Fibers

2020-12-17 Thread Aaron Piotrowski
Hello everyone! I would like to introduce an RFC for adding full-stack fibers to PHP: https://wiki.php.net/rfc/fibers Fibers are primarily used to implement green-threads or coroutines for asynchronous I/O. Fibers are similar to threads, except fibers exist within a single thread and require

Re: [PHP-DEV] [RFC] Fibers

2020-12-17 Thread Peter Stalman
Hi Aaron, this is very interesting to me. Can I ask why this approach as opposed to other paradigms like promises, coroutines, etc? You mentioned async/await in the future scope, and I assume most of these patterns can be implemented once there is an underlying functionality. Basically, why

Re: [PHP-DEV] [RFC] Short-match

2020-12-17 Thread Larry Garfield
On Thu, Dec 17, 2020, at 10:23 AM, Sara Golemon wrote: > On Wed, Dec 16, 2020 at 6:50 PM someniatko wrote: > > > > `match` is an expression, where as if-else construction is not. This > > allows for combining it with a potential future feature of single line > > functions and methods. For example

Re: [PHP-DEV] [RFC] Fibers

2020-12-17 Thread Aaron Piotrowski
Hi Peter, > On Dec 17, 2020, at 1:23 PM, Peter Stalman wrote: > > Hi Aaron, this is very interesting to me. Can I ask why this approach as > opposed to other paradigms like promises, coroutines, etc? You mentioned > async/await in the future scope, and I assume most of these patterns can be >

Re: [PHP-DEV] [RFC] Fibers

2020-12-17 Thread Saif Eddin Gmati
Hello Aaron, First, I want to say that I love this proposal and would love to see it land in the next PHP release, but I have one question regarding this: > Promises result in the “What color is your function” problem as described in > the introduction of the RFC. Returning promises from

[PHP-DEV] Re: PHP-7.3 branch is closed

2020-12-17 Thread Jan Ehrhardt
"Christoph M. Becker" in php.internals (Tue, 15 Dec 2020 18:30:44 +0100): >PHP-7.3.26 has been branched and will be the last 7.3 bugfix release. >PHP-7.3 now enters security support for 1 year, see >. Right. I was a bit surprised that PHP 7.3.26 RC1

Re: [PHP-DEV] [RFC] Fibers

2020-12-17 Thread Aaron Piotrowski
> On Dec 17, 2020, at 4:11 PM, Saif Eddin Gmati wrote: > > Hello Aaron, > > First, I want to say that I love this proposal and would love to see it land > in the next PHP release, but I have one question regarding this: > > >> Promises result in the “What color is your function” problem as