Re: [PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-03-17 Thread Theodore Brown
On Thu, Mar 17, 2022 at 5:40 PM Tobias Nyholm wrote: > On Thu, 17 Mar 2022, 23:27 Ilija Tovilo, wrote: > >> Hi everyone >> >> I'd like to start discussion on a new RFC for arbitrary string >> interpolation. >> https://wiki.php.net/rfc/arbitrary_string_interpolation >> >> Let me know what you

[PHP-DEV] PHP 8.1.4 Released

2022-03-17 Thread Ben Ramsey
The PHP development team announces the immediate availability of PHP 8.1.4. This is a bugfix release. All PHP 8.1 users are encouraged to upgrade to this version. For source downloads of PHP 8.1.4 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The

Re: [PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-03-17 Thread Tobias Nyholm
That is a cool idea. But I am not a big fan of having code in strings. Wouldn’t this open the door to all kinds of new attacks? // Tobias > On 17 Mar 2022, at 23:30, Marco Pivetta wrote: > > Hey Ilija, > > Overall not a fan: want more `sprintf()` and less interpolation, where > possible  >

Re: [PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-03-17 Thread Marco Pivetta
Hey Ilija, Overall not a fan: want more `sprintf()` and less interpolation, where possible  Couldn't we let the construct slowly decay into nothingness, perhaps? On Thu, 17 Mar 2022, 23:27 Ilija Tovilo, wrote: > Hi everyone > > I'd like to start discussion on a new RFC for arbitrary string >

[PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-03-17 Thread Ilija Tovilo
Hi everyone I'd like to start discussion on a new RFC for arbitrary string interpolation. https://wiki.php.net/rfc/arbitrary_string_interpolation Let me know what you think. Ilija -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] Capitalization of Content-* headers

2022-03-17 Thread Tim Düsterhus
Hi Vedran, On 3/17/22 19:03, Vedran Miletić via internals wrote: What do you think about this change? *If* a change is made I'd rather like to see all-lowercase headers, as that's the casing enforced by HTTP/2 [1] [2]. I don't see a benefit in changing one capitalized version to different

[PHP-DEV] Capitalization of Content-* headers

2022-03-17 Thread Vedran Miletić via internals
Hello, A while ago I observed that PHP's capitalization of Content-Type and Content-Length headers is Content-type and Content-length. This is working fine, but is inconsistent with the rest of the headers which are printed in Header-Name format. I have proposed changing that [1] and

Re: [PHP-DEV] [RFC][Under discussion] Deprecate ${} string interpolation

2022-03-17 Thread Alain D D Williams
On Thu, Mar 17, 2022 at 06:18:38PM +0100, Ilija Tovilo wrote: > Hi everyone > > I have tried to address all the feedback I've received for the RFC to > deprecate the ${} string interpolation. > https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation Could you please add, for the

Re: [PHP-DEV] [RFC][Under discussion] Deprecate ${} string interpolation

2022-03-17 Thread Ilija Tovilo
Hi everyone I have tried to address all the feedback I've received for the RFC to deprecate the ${} string interpolation. https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation * I have added instructions on how to migrate from option 3/4 to option 2 * I have analized the top 1000

Re: [PHP-DEV] [RFC] [VOTE] Allow null and false as stand-alone types

2022-03-17 Thread G. P. B.
On Thu, 17 Mar 2022 at 15:54, Levi Morrison wrote: > On Sat, Mar 12, 2022 at 10:32 AM G. P. B. > wrote: > > > > I've started voting for the Allow null and false as stand-alone types > RFC: > > https://wiki.php.net/rfc/null-false-standalone-types > > > > Voting will last for 2 weeks until 26th

Re: [PHP-DEV] [RFC] [VOTE] Allow null and false as stand-alone types

2022-03-17 Thread Levi Morrison via internals
On Sat, Mar 12, 2022 at 10:32 AM G. P. B. wrote: > > I've started voting for the Allow null and false as stand-alone types RFC: > https://wiki.php.net/rfc/null-false-standalone-types > > Voting will last for 2 weeks until 26th of March. > > Best regards, > > George P. Banyard Hello, I have

Re: [PHP-DEV] [RFC] [VOTE] Sealed Classes

2022-03-17 Thread Nicolas Grekas
> > to me this closes extensibility in a hard way. > > This is not necessarily true, we have `final` in PHP which does exactly > that, but `sealed` can still allow for extensibility, just from a different > point, e.g: > `final` has the same issue to me: it's a feature of the language that would

Re: [PHP-DEV] [RFC] [VOTE] Sealed Classes

2022-03-17 Thread Michał Marcin Brzuchalski
Hi Nocolas, czw., 17 mar 2022 o 11:38 Nicolas Grekas napisał(a): > Le jeu. 17 mars 2022 à 04:54, Saif Eddin Gmati a > écrit : > > > Hello Internals, > > > > As per my last email in the previous thread, i have started the vote for > > sealed classes feature. > > > > The vote will run for 2

Re: [PHP-DEV] [RFC] [VOTE] Sealed Classes

2022-03-17 Thread Nicolas Grekas
Le jeu. 17 mars 2022 à 04:54, Saif Eddin Gmati a écrit : > Hello Internals, > > As per my last email in the previous thread, i have started the vote for > sealed classes feature. > > The vote will run for 2 weeks until March 31st 2022. > > Discussion: https://externals.io/message/117173 > >

[PHP-DEV] PHP 8.0.17 Released

2022-03-17 Thread Gabriel Caruso
The PHP development team announces the immediate availability of PHP 8.0.17. This is a bugfix release. All PHP 8.0 users are encouraged to upgrade to this version. For source downloads of PHP 8.0.17 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The

Re: [PHP-DEV] [VOTE] Undefined Variable Error Promotion

2022-03-17 Thread Peter Bowyer
On Wed, 16 Mar 2022 at 13:27, Rowan Tommins wrote: > On 15/03/2022 23:02, Patrick ALLAERT wrote: > > This is not far from the reason why I voted "no". > > > > I am not against the fact this warning becomes an error per se. I am just > > not very fan of cherry-picking an individual kind of