Re: [PHP-DEV] Proposal: Adding a RewindableKeyValueIterator type allowing mixed/repeated keys

2021-01-30 Thread Levi Morrison via internals
On Sat, Jan 30, 2021 at 5:37 PM tyson andre wrote: > > Hi internals, > > Currently, there don't seem to be any internal classes that can be used to > store a copy of the keys and values of an arbitrary Traversable. > > - This would help in eagerly evaluating the result of a generator in a memory

[PHP-DEV] Proposal: Adding a RewindableKeyValueIterator type allowing mixed/repeated keys

2021-01-30 Thread tyson andre
Hi internals, Currently, there don't seem to be any internal classes that can be used to store a copy of the keys and values of an arbitrary Traversable. - This would help in eagerly evaluating the result of a generator in a memory efficient way that could be exactly stored and reused e.g. `

[PHP-DEV] Re: [RFC]: fsync function

2021-01-30 Thread David Gebler
Updated the PR https://github.com/php/php-src/pull/6650 following comment from Nikita, added basic tests, would appreciate further review from contributors, have updated the RFC https://wiki.php.net/rfc/fsync_function to under discussion, cheers. David Gebler davidgeb...@gmail.com On Sat, Jan 30

Re: [PHP-DEV] password_verify() and unknown algos

2021-01-30 Thread Hans Henrik Bergan
PASSWORD_THROW_ON_ERROR password_verify ( string $password , string $hash, int $flags = 0 ) : bool On Fri, 29 Jan 2021 at 16:01, Benjamin Morel wrote: > Hi all, thanks for the constructive feedback. > > On Fri, 29 Jan 2021 at 15:52, Marco Pivetta wrote: > > > > > Gonna be the usual person sayi