Re: [PHP-DEV] Allow sleep() to accept non-integer values

2020-08-13 Thread twosee
> 2020年8月11日 下午6:39,Dan Ackroyd 写道: > > Michael Voříšek wrote: > >> Another reason is that sleep(0.1); is silently accepted now (even with > strict types enabled), > > That appears to not be true: https://3v4l.org/7YbqX > > Rowan wrote: >> Unless there are problems with the implementation,

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

2020-08-13 Thread Levi Morrison via internals
> So, a week+ early, then? Surely that means the current vote null and void, to > be reset entirely following a proper discussion period -- one without > concurrent voting. I just want to make sure I understand: there are people who think we haven't discussed the syntax for attributes yet? I as

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

2020-08-13 Thread Paul M. Jones
> On Aug 13, 2020, at 10:44, Theodore Brown wrote: > > Indeed, it looks like you are right. I missed that Joe withdrew his > RFC on August 2nd: https://externals.io/message/111218#111288. The > declined RFC can still be viewed via a past page revision. [1] > > Apparently Derick then authored a

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

2020-08-13 Thread tyson andre
Hi internals, One thing I hadn't thought of before was how this would interact with parameters (with or without constructor property promotion). Many coding styles would end up putting annotations on the same line for parameters (in addition to closures) E.g. I've commonly done that and seen tha

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

2020-08-13 Thread Theodore Brown
On Thu, Aug 13, 2020 at 8:47 AM Andreas Leathley wrote: > On 13.08.20 15:17, Theodore Brown wrote: > > The discussion thread you're referencing did not announce an RFC. Per > > the voting rules, a "Proposal is formally initiated by creating an > > RFC on PHP wiki and announcing it on the list". A

[PHP-DEV] Nested functions

2020-08-13 Thread Luis - SoftSAT Sistemas
13.08.2020, 10:52, "Claude Pache" : >> Le 12 août 2020 à 22:05, Luis - SoftSAT Sistemas >> a écrit : >>  Le 12 août 2020 à 20:19, Luis - SoftSAT Sistemas a écrit :  In the effort to make PHP a better language i want to ask why not "fix" nested functions as suggested in

Re: [PHP-DEV] Nested functions

2020-08-13 Thread Claude Pache
> Le 12 août 2020 à 22:05, Luis - SoftSAT Sistemas > a écrit : > >>> Le 12 août 2020 à 20:19, Luis - SoftSAT Sistemas >>> a écrit : >>> >>> In the effort to make PHP a better language i want to ask why not "fix" >>> nested functions as suggested in >>> (https://wiki.php.net/rfc/true-nes

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

2020-08-13 Thread Andreas Leathley
On 13.08.20 15:17, Theodore Brown wrote: The discussion thread you're referencing did not announce an RFC. Per the voting rules, a "Proposal is formally initiated by creating an RFC on PHP wiki and announcing it on the list". After that there must be a minimum two week discussion period before vo

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

2020-08-13 Thread Michał Marcin Brzuchalski
Hi Theodore, czw., 13 sie 2020 o 15:17 Theodore Brown napisał(a): > On Thu, Aug 13, 2020 at 3:13 AM Michał Marcin Brzuchalski < > michal.brzuchal...@gmail.com> wrote: > > > Hi Theodore, > > > > śr., 12 sie 2020 o 18:36 Theodore Brown > napisał(a): > > > On Wed, Aug 12, 2020 at 10:25 AM Sara Gol

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

2020-08-13 Thread Theodore Brown
On Thu, Aug 13, 2020 at 3:13 AM Michał Marcin Brzuchalski wrote: > Hi Theodore, > > śr., 12 sie 2020 o 18:36 Theodore Brown napisał(a): > > On Wed, Aug 12, 2020 at 10:25 AM Sara Golemon wrote: > > > > > On Wed, Aug 12, 2020 at 9:48 AM Theodore Brown wrote: > > > > > > > It has just come to m

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

2020-08-13 Thread Côme Chilliet
Le Thu, 13 Aug 2020 10:13:16 +0200, Michał Marcin Brzuchalski a écrit : > I'm personally also disappointed with the fact that in your RFC under the > primary > vote question "Are you okay with re-voting on the attribute syntax for PHP > 8.0?" > removing features like grouping ability was hidden.

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

2020-08-13 Thread Michał Marcin Brzuchalski
Hi Theodore, śr., 12 sie 2020 o 18:36 Theodore Brown napisał(a): > On Wed, Aug 12, 2020 at 10:25 AM Sara Golemon wrote: > > > On Wed, Aug 12, 2020 at 9:48 AM Theodore Brown wrote: > > > > > It has just come to my attention that this RFC was rushed to vote > > > after less than the minimum two w