Re: [PHP-DEV] Propagating AVIF support from libgd into PHP's bundled gd

2021-06-05 Thread Kalle Sommer Nielsen
Den søn. 6. jun. 2021 kl. 00.09 skrev Ayesh Karunaratne : > > Hi Ben, > Thank you for opening this PR and the discussion. With the wide > availability of AVIF/AV1 support in browsers, I think this will fit > nicely. > > We have the Namespaces in Bundled Extensions RFC > (https://wiki.php.net/rfc/na

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Mike Schinkel
> On Jun 5, 2021, at 12:51 PM, Larry Garfield wrote: > > On Fri, Jun 4, 2021, at 10:19 AM, Nikita Popov wrote: >> Hi internals, >> >> I'd like to open the discussion on readonly properties: >> https://wiki.php.net/rfc/readonly_properties_v2 >> >> This proposal is similar to the >> https://wik

Re: [PHP-DEV] Disable autovivification on false

2021-06-05 Thread tyson andre
Hi Kamil, > I have reworked the RFC based on some feedback. The improved RFC now will > hold 2 votes. One vote to decide whether the behaviour should be deprecated > from false, and another from null. > > If there are no objections then I would like to start the votes in a couple > of days. > >

Re: [PHP-DEV] Propagating AVIF support from libgd into PHP's bundled gd

2021-06-05 Thread Ayesh Karunaratne
Hi Ben, Thank you for opening this PR and the discussion. With the wide availability of AVIF/AV1 support in browsers, I think this will fit nicely. We have the Namespaces in Bundled Extensions RFC (https://wiki.php.net/rfc/namespaces_in_bundled_extensions) passed, so perhaps, the new functions are

Re: [PHP-DEV] Disable autovivification on false

2021-06-05 Thread Mark Randall
On 05/06/2021 20:50, Kamil Tekiela wrote: However, I would still like to hear from you whether you use autovivification from false and/or null in your projects. So far, I was not able to identify when this would be useful in real-life scenarios. As per the RFC: "In PHP 8.1, appending to a vari

Re: [PHP-DEV] Disable autovivification on false

2021-06-05 Thread Kamil Tekiela
Hi Internals, I have reworked the RFC based on some feedback. The improved RFC now will hold 2 votes. One vote to decide whether the behaviour should be deprecated from false, and another from null. If there are no objections then I would like to start the votes in a couple of days. However, I w

[PHP-DEV] [VOTE] Straw poll: Namespace to use for CachedIterable and iterable functionality

2021-06-05 Thread tyson andre
Hi internals, Voting has started on https://wiki.php.net/rfc/cachediterable_straw_poll and ends in a week on June 12, 2021 (the voting period is shorter because this is a poll, not an RFC, and the feature freeze is soon) Previously, https://wiki.php.net/rfc/namespaces_in_bundled_extensions pass

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Larry Garfield
On Fri, Jun 4, 2021, at 10:19 AM, Nikita Popov wrote: > Hi internals, > > I'd like to open the discussion on readonly properties: > https://wiki.php.net/rfc/readonly_properties_v2 > > This proposal is similar to the > https://wiki.php.net/rfc/write_once_properties RFC that has been declined > pre

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Nikita Popov
On Sat, Jun 5, 2021 at 4:28 PM Benjamin Eberlei wrote: > > > On Fri, Jun 4, 2021 at 5:20 PM Nikita Popov wrote: > >> Hi internals, >> >> I'd like to open the discussion on readonly properties: >> https://wiki.php.net/rfc/readonly_properties_v2 >> >> This proposal is similar to the >> https://wik

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Benjamin Eberlei
On Fri, Jun 4, 2021 at 5:20 PM Nikita Popov wrote: > Hi internals, > > I'd like to open the discussion on readonly properties: > https://wiki.php.net/rfc/readonly_properties_v2 > > This proposal is similar to the > https://wiki.php.net/rfc/write_once_properties RFC that has been declined > previo

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Benjamin Eberlei
On Fri, Jun 4, 2021 at 5:20 PM Nikita Popov wrote: > Hi internals, > > I'd like to open the discussion on readonly properties: > https://wiki.php.net/rfc/readonly_properties_v2 > > This proposal is similar to the > https://wiki.php.net/rfc/write_once_properties RFC that has been declined > previo

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Pierre
Le 05/06/2021 à 12:06, Nikita Popov a écrit : Yes, this is supported. What matters is the scope from which the initialization occurs. If you rebind a closure to the scope of the class, then you can perform any operations that would be legal inside that class, including access to private propertie

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Nikita Popov
On Sat, Jun 5, 2021 at 11:47 AM Pierre wrote: > Le 04/06/2021 à 17:19, Nikita Popov a écrit : > > Hi internals, > > I'd like to open the discussion on readonly > properties:https://wiki.php.net/rfc/readonly_properties_v2 > > This proposal is similar to thehttps://wiki.php.net/rfc/write_once_prop

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Deleu
On Sat, Jun 5, 2021, 11:47 Pierre wrote: > Le 04/06/2021 à 17:19, Nikita Popov a écrit : > > Hi internals, > > > > I'd like to open the discussion on readonly properties: > > https://wiki.php.net/rfc/readonly_properties_v2 > > > > This proposal is similar to the > > https://wiki.php.net/rfc/write

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Pierre
Le 04/06/2021 à 17:19, Nikita Popov a écrit : Hi internals, I'd like to open the discussion on readonly properties: https://wiki.php.net/rfc/readonly_properties_v2 This proposal is similar to the https://wiki.php.net/rfc/write_once_properties RFC that has been declined previously. One significa

Re: [PHP-DEV] [RFC] Readonly properties

2021-06-05 Thread Nicolas Grekas
Hi Nikita, Le ven. 4 juin 2021 à 17:19, Nikita Popov a écrit : > Hi internals, > > I'd like to open the discussion on readonly properties: > https://wiki.php.net/rfc/readonly_properties_v2 > Thanks for the proposal, that's quite appealing! I voted "no" on the previous proposal because it didn'