Re: [PHP-DEV] [RFC] New in initializers

2021-03-20 Thread Claude Pache
> Le 19 mars 2021 à 12:22, Nikita Popov > a écrit : > > I've updated the RFC (and implementation) to evaluate class constants and > static properties at time of class declaration. As such, everything should > have a well-defined evaluation order now. > > However, t

Re: [PHP-DEV] [RFC] noreturn type

2021-03-20 Thread Matthew Brown
On Sat, 20 Mar 2021 at 11:35, Larry Garfield wrote: > My main concern is around the covariance of inheritance. The example > given: > > abstract class Person > { > abstract public function hasAgreedToTerms(): bool; > } > > class Kid extends Person > { > public function hasAgreedToTerms()

Re: [PHP-DEV] [RFC] noreturn type

2021-03-20 Thread Larry Garfield
On Wed, Mar 10, 2021, at 12:06 PM, Matthew Brown wrote: > Hey, > > Ondřej Mirtes and I present an RFC for the noreturn type: > https://wiki.php.net/rfc/noreturn_type > > The feature already exists in Hack (the primary inspiration) and is > currently supported by our static analysis tools inside d

Re: [PHP-DEV] [VOTE] Fibers

2021-03-20 Thread Aaron Piotrowski
> On Mar 19, 2021, at 5:47 PM, Levi Morrison > wrote: > > On Fri, Mar 19, 2021 at 3:54 PM Niklas Keller > wrote: >> >> Hey Levi, >> >>> On Mon, Mar 8, 2021 at 12:40 PM Aaron Piotrowski wrote: Greetings everyone! The vote has started on the fibe

Re: [PHP-DEV] [VOTE] Fibers

2021-03-20 Thread Josh Di Fabio
HI Rowan, Thanks for sharing your thoughts. On Fri, Mar 19, 2021 at 7:55 PM Rowan Tommins wrote: > > On 18/03/2021 09:20, Josh Di Fabio wrote: > > "If you want to enable fibers in your application, you must be > > confident about the implementation details of all of the code in your > > applicat