Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2

2020-08-18 Thread Benjamin Eberlei
On Wed, Aug 19, 2020 at 12:03 AM Theodore Brown wrote: > On Tue, Aug 18, 2020 at 1:00 PM Benjamin Eberlei > wrote: > > > https://wiki.php.net/rfc/shorter_attribute_syntax_change > > > > I have updated the RFC one last time with as much of the feedback > > as possible: > > > > - a section about

Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0

2020-08-18 Thread Matteo Beccati
Hi Rowan, On 17/08/2020 18:36, Rowan Tommins wrote: > On Mon, 17 Aug 2020 at 16:21, Matteo Beccati wrote: >> >> FWIW, I've just been hit by https://bugs.php.net/bug.php?id=47021 in a >> SOAP response from a server using "Transfer-Encoding:> spaces>chunked". I see the bug is still open, although

Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2

2020-08-18 Thread Theodore Brown
On Tue, Aug 18, 2020 at 1:00 PM Benjamin Eberlei wrote: > https://wiki.php.net/rfc/shorter_attribute_syntax_change > > I have updated the RFC one last time with as much of the feedback > as possible: > > - a section about comparing to complexity of type definitions > - removal of the machine

Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2

2020-08-18 Thread Jakob Givoni
On Tue, Aug 18, 2020 at 12:04 AM Benas IML wrote: > >> >> From the updated RFC: >> >> > There are multiple reasons why we believe the previous vote should be >> > revisited: >> >> Ok, bring it on! >> >> > At the point of the vote for @@, it was not clear that the syntax required >> > the

Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2

2020-08-18 Thread Benas IML
On Tue, Aug 18, 2020, 1:42 AM Andreas Leathley wrote: > On 18.08.20 00:03, Benas IML wrote: > > And then boo-yah, 6 months later we want to implement a cool new > > feature to > > attributes (a lot of examples were said before, ain't repeating myself) > but > > we can't :(( because there is no

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Jakob Givoni
On Tue, Aug 18, 2020 at 12:36 AM Mike Schinkel wrote: > > I have been following all the lengthy discussions on this topic hoping the > list would come to consensus. And I had been hoping someone would call the > following question but since no one else has here goes. > [...] > > Should we not:

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Mike Schinkel
> On Aug 18, 2020, at 6:54 AM, Benjamin Eberlei wrote: > > On Tue, Aug 18, 2020 at 12:36 AM Mike Schinkel > wrote: > I have been following all the lengthy discussions on this topic hoping the > list would come to consensus. And I had been hoping someone would call

Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2

2020-08-18 Thread Benjamin Eberlei
On Tue, Aug 4, 2020 at 3:46 PM Derick Rethans wrote: > Hi, > > Out of Banjamin's suggestion[1], I've updated the Shorter Attribute > Syntax Change RFC to reflect that process: > > https://wiki.php.net/rfc/shorter_attribute_syntax_change > > Patches and comments welcome. > > FWIW, this has an

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Benjamin Eberlei
On Tue, Aug 18, 2020 at 8:49 AM Aleksander Machniak wrote: > On 18.08.2020 00:35, Mike Schinkel wrote: > > 1. Postpone inclusion of attributes until PHP 8.1 > > +1 > > I wonder why my suggestion (somewhere in this thread) didn't get any > attention. Is it because the ship had sailed or it's a

Re: [PHP-DEV] [RFC] FFI Improvements: Consistency and soliving some problems

2020-08-18 Thread Dan Ackroyd
On Thu, 9 Jul 2020 at 09:01, Dan Ackroyd wrote: > > On Mon, 6 Jul 2020 at 22:37, Кирилл Несмеянов wrote: > > > > I would like to start discussion about the «FFI Improvements» RFC. At the > > moment, I do not have the right to create wiki page, so I post it on the > > github: > >

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Benjamin Morel
On Tue, 18 Aug 2020 at 08:49, Aleksander Machniak wrote: > > I wonder why my suggestion (somewhere in this thread) didn't get any > attention. Is it because the ship had sailed or it's a terrible idea? > > declare( > SomeAttr, > AnotherAttr("Hello world") > ) > function someFunc() { > }

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread David Rodrigues
I really found your idea better than all. Keywork is already reserved, make sense on this context. Em ter, 18 de ago de 2020 03:49, Aleksander Machniak escreveu: > On 18.08.2020 00:35, Mike Schinkel wrote: > > 1. Postpone inclusion of attributes until PHP 8.1 > > +1 > > I wonder why my

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Benjamin Eberlei
On Tue, Aug 18, 2020 at 12:36 AM Mike Schinkel wrote: > I have been following all the lengthy discussions on this topic hoping the > list would come to consensus. And I had been hoping someone would call the > following question but since no one else has here goes. > > The concept of adding

Re: [PHP-DEV] [RFC] Better string interpolation

2020-08-18 Thread Rowan Tommins
Hi Ilija, On Mon, 17 Aug 2020 at 18:54, Ilija Tovilo wrote: > > sprintf-style modifiers are an interesting idea. But I'm not sure if > there would be a huge advantage over using number_format. > > [...] > > Escaping is a nice idea but I'm not sure we want to go that route. > String

Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2

2020-08-18 Thread Jordi Boggiano
Hi Benjamin, ## Easier machine parsing? The RFC shows a list of different ways that attributes with the `@@` syntax can end, and claims "This makes programmatic token based scanning for attribute syntax without a closing delimiter such as `@@` unnecessarily complicated." But I've worked with

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Aleksander Machniak
On 18.08.2020 00:35, Mike Schinkel wrote: > 1. Postpone inclusion of attributes until PHP 8.1 +1 I wonder why my suggestion (somewhere in this thread) didn't get any attention. Is it because the ship had sailed or it's a terrible idea? declare( SomeAttr, AnotherAttr("Hello world") )