Re: [PHP-DEV] Pre proposal for "Class extension functions"

2018-09-25 Thread Sara Golemon
On Tue, Sep 25, 2018 at 1:50 AM Stanislav Malyshev wrote: > > I want to do RFS proposal for new language concept - Class extension > > functions. > > > > Syntax will looks like: > > > > function DateTime->localTime() { > > return $this->format('H:i'); > > } > > I feel this is inviting trouble.

Re: [PHP-DEV] Pre proposal for "Class extension functions"

2018-09-25 Thread Christoph M. Becker
On 25.09.2018 at 08:50, Stanislav Malyshev wrote: >> I want to do RFS proposal for new language concept - Class extension >> functions. >> >> Syntax will looks like: >> >> function DateTime->localTime() { >> return $this->format('H:i'); >> } > > I think this wouldn't add much what we already

Re: [PHP-DEV] [RFC] [VOTE] Typed properties v2

2018-09-25 Thread Rowan Collins
On Sun, 23 Sep 2018 at 22:48, Nikita Popov wrote: > > There might be a compromise here, which is to only perform a ctor > initialization check and forbid explicit unset()s if the class does not use > property accessors (i.e. does not define __get). This allows the lazy > initialization pattern bu

[PHP-DEV] Re: Maintainership dates

2018-09-25 Thread Christoph M. Becker
On 12.07.2018 at 21:14, Stanislav Malyshev wrote: > Sounds good. Anybody wants to help with writing the text for the call > (it should include some explanations about what it is about and what the > person is to do) […] Okay, a first draft for the call for maintainership: | The extension which

Re: [PHP-DEV] [RFC} Deprecate and Remove ext/wddx

2018-09-25 Thread Nikita Popov
On Thu, Sep 20, 2018 at 7:02 PM Stanislav Malyshev wrote: > Hi! > > > We have deprecated and moved to PECL a number of extensions in the > > recent past. These were mysql and ereg in PHP 7.0 and mcrypt in PHP 7.2. > > I have always understood these moves as "sunsetting" the extensions, in > > the

Re: [PHP-DEV] [RFC} Deprecate and Remove ext/wddx

2018-09-25 Thread Christoph M. Becker
On 19.09.2018 at 00:24, Stanislav Malyshev wrote: >> Hmm, I have some doubts that it's okay for users if we remove the WDDX >> extension in PHP 7.4 without any deprecation phase. Is there any > > I think deprecation phase is necessary for features that are being > removed. For extension being mo