[PHP-DEV] Changes to finfo and imap functions

2021-02-10 Thread Brent Roose
Hi internals The chagelog for PHP 8.1 lists the two following changes: - Fileinfo: . The fileinfo functions now accept and return, respectively, finfo objects instead of resources. - IMAP: . The IMAP functions now accept and return, respectively, IMAPConnection objects instead of

[PHP-DEV] RFC: CachedIterable (rewindable, allows any key keys)

2021-02-10 Thread tyson andre
Hi internals, I've created a new RFC https://wiki.php.net/rfc/cachediterable adding CachedIterable, which eagerly evaluates any iterable and contains an immutable copy of the keys and values of the iterable it was constructed from This has the proposed signature: ``` final class

[PHP-DEV] Requesting RFC karma for your wiki account.

2021-02-10 Thread Russell Stuart
I'm created a branch to php-src that makes pdo_firebird::getColumnMeta() return "native_type" in addition to "pdo_type". It also fixes a bug in the current getColumnMeta() (of the SIG_SEGV variety), and adds a unit test getColumnMeta() for it. There is none currently. The branch is here:

[PHP-DEV] [VOTE]: Change Default mysqli Error Mode

2021-02-10 Thread Kamil Tekiela
Hi internals, I have started voting on https://wiki.php.net/rfc/mysqli_default_errmode The voting period is 2020-02-11 -- 2020-02-28 Kind Regards, Kamil

Re: [PHP-DEV] [VOTE] PHP\iterable\any() and all() on iterables

2021-02-10 Thread Mike Schinkel
> On Feb 8, 2021, at 7:37 PM, Kamil Tekiela wrote: > > Hi Tyson, > > Thanks for the RFC. I have to say that I like the core concept and the > motivation behind it. However, let me explain why I voted No. > > 1. As others have said I think that the scope is too small. If we are going > to

Re: [PHP-DEV] [VOTE] PHP\iterable\any() and all() on iterables

2021-02-10 Thread Larry Garfield
On Mon, Feb 8, 2021, at 6:37 PM, Kamil Tekiela wrote: > Hi Tyson, > > Thanks for the RFC. I have to say that I like the core concept and the > motivation behind it. However, let me explain why I voted No. > > 1. As others have said I think that the scope is too small. If we are going > to create

Re: [PHP-DEV] [VOTE] PHP\iterable\any() and all() on iterables

2021-02-10 Thread tyson andre
Hi Guilliam Xavier, > > > Hi Larry Garfield, > > > > > > > > Hi Larry Garfield, > > > > > > > > > > > > Hi internals, > > > > > > > > > > > > > > Voting has started on > > > > > > > https://wiki.php.net/rfc/any_all_on_iterable and > > > > > > > ends on 2021-02-22. > > > > > > > > > > > > > >

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

2021-02-10 Thread David Gebler
Hi all, Giving this one a little bump as I haven't had any particular feedback or comments about it so far. I know it's not the biggest or most exciting change in the world but it's implemented and I'd like to progress it to a vote in another week or so if there are no objections or

Re: [PHP-DEV] [VOTE] PHP\iterable\any() and all() on iterables

2021-02-10 Thread Guilliam Xavier
Hi, On Tue, Feb 9, 2021 at 7:33 PM Larry Garfield wrote: > On Mon, Feb 8, 2021, at 6:48 PM, Levi Morrison via internals wrote: > > On Mon, Feb 8, 2021 at 5:15 PM tyson andre > wrote: > > > > > > Hi Larry Garfield, > > > > > > > > Hi Larry Garfield, > > > > > > > > > > > > Hi internals, > > > >