Re: [PHP-DEV] [VOTE] Fibers

2021-03-18 Thread Josh Di Fabio
Hi Peter, Thanks for clarifying. On Thu, Mar 18, 2021 at 2:43 AM Peter Stalman wrote: > > On Wed, Mar 17, 2021 at 7:41 AM Josh Di Fabio wrote: >> >> Note the difference between the two. Also note how, in both of the >> above cases, the asynchronicity is explicit and the developer has >> opted i

[PHP-DEV] PHP 8.0.4RC1 Available for testing

2021-03-18 Thread Gabriel Caruso
PHP 8.0.3RC1 has just been released and can be downloaded from: https://downloads.php.net/~carusogabriel/ Or use the git tag: php-8.0.3RC1 Windows binaries are available at https://windows.php.net/qa#php-8.0 Please test it carefully, and report any bugs in the bug system: https://bugs.php.net 8.0

[PHP-DEV] Re: PHP 8.0.4RC1 Available for testing

2021-03-18 Thread Gabriel Caruso
On Thu, 18 Mar 2021 at 10:56, Gabriel Caruso wrote: > PHP 8.0.3RC1 has just been released and can be downloaded from: > https://downloads.php.net/~carusogabriel/ > Or use the git tag: php-8.0.3RC1 > My bad, it should be php-8.0.4RC1, copy & pasta error :D > > Windows binaries are available at

Re: [PHP-DEV] Add __toString() to DateInterval

2021-03-18 Thread Moritz Friedrich
> Would a reasonable way forward be to have such a named method, and have it > throw an exception if the instance is not representable in that form? > > That way, you'd be guaranteed that new > DateInterval($period->toIsoPeriodString()) would result in an equivalent > object, rather than discar

Re: [PHP-DEV] [VOTE] Fibers

2021-03-18 Thread Guilliam Xavier
Hi, Guzzle's requestAsync() returns a promise, it does not > interrupt/suspend the callsite. For example: > > // this function is not interrupted/suspended -- it will return > synchronously > function doSomething() { > $this->guzzle->requestAsync(...)->then(... handle response here

[PHP-DEV] Enhancement to fputcsv

2021-03-18 Thread Cameron Hall
Hi internals, I sent an email[1] to the list about this in November, which didn't gain much traction. I've created a pull request[2] which adds an optional parameter for line endings to the fputcsv function. This enhancement addresses three issues on the bug tracker, all of which are about the fu

Re: [PHP-DEV] [VOTE] Fibers

2021-03-18 Thread Josh Di Fabio
On Thu, Mar 18, 2021 at 1:55 PM Guilliam Xavier wrote: > > Hi, > >> Guzzle's requestAsync() returns a promise, it does not >> interrupt/suspend the callsite. For example: >> >> // this function is not interrupted/suspended -- it will return >> synchronously >> function doSomething() { >>

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

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