Re: [PHP-DEV][RFC] Allow void return type variance

2019-02-20 Thread Terje Bråten
Hi I think this is a great idea, and that it should be implemented. On 17/02/2019 16:36, Rowan Collins wrote: Instead, ": void" in PHP represents a *behavioural constraint* on the function - it declares that within this function, anything of the form "return $value" is to be treated as an erro

[PHP-DEV] Re: Setup dev environment for contributing to php

2019-02-20 Thread Christoph M. Becker
On 20.02.2019 at 15:10, Alexandru Pătrănescu wrote: > Maybe it's my fault but I find it hard to find a documented way of how to > setup your local environment for contributing to php. See . -- Christoph M. Becker -- PHP Inte

Re: [PHP-DEV] Setup dev environment for contributing to php

2019-02-20 Thread Alexandru Pătrănescu
Hi Rowan, Thank you for the info. I'll try to update it if I can. On Wed, Feb 20, 2019 at 7:15 PM Rowan Collins wrote: > On Wed, 20 Feb 2019 at 14:10, Alexandru Pătrănescu > wrote: > >> Maybe I'm too used with having a Vagrantfile that I'm searching things too >> specifically. >> > > > Rasmus

Re: [PHP-DEV] Setup dev environment for contributing to php

2019-02-20 Thread Rowan Collins
On Wed, 20 Feb 2019 at 14:10, Alexandru Pătrănescu wrote: > Maybe I'm too used with having a Vagrantfile that I'm searching things too > specifically. > Rasmus set up a Vagrantfile around the time 7.0 was released, which should still work I think, though the helper scripts haven't been updated

Re: [PHP-DEV] Allows arrays to be type-hinted with interfaces mimicking Array behaviour

2019-02-20 Thread Girgias
On Tue, 19 Feb 2019 at 17:33, Larry Garfield wrote: > On Tuesday, February 19, 2019 3:38:16 AM CST Rowan Collins wrote: > > On Tue, 19 Feb 2019 at 02:44, Larry Garfield > wrote: > > > Yes, a lot of existing code uses arrays as anonymous structs. Such > code > > > is, > > > IMO, "doing it wrong"

[PHP-DEV] Setup dev environment for contributing to php

2019-02-20 Thread Alexandru Pătrănescu
Hi, Maybe it's my fault but I find it hard to find a documented way of how to setup your local environment for contributing to php. Maybe I'm too used with having a Vagrantfile that I'm searching things too specifically. I can help with setting it up if you wish and the need is real for more tha