Re: [PHP-DEV] Re: [RFC] Deprecations for PHP 7.2

2016-12-11 Thread Tony Marston
"Nikita Popov" wrote in message news:caf+90c91spfohitjgpwtevzt_wyk+htx4-tantmsshhctqq...@mail.gmail.com... On Sat, Nov 19, 2016 at 11:18 AM, Tony Marston wrote: "Nikita Popov" wrote in message news:CAF+90c8Wox0wadAVPsP83er=

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Davey Shafik
On Sun, Dec 11, 2016 at 7:40 PM, Mathieu Rochette wrote: > > > On 12/12/2016 01:16 AM, Silvio Marijić wrote: > > This have occurred to me also, I wanted to separate that into two RFC's, > > but then how we deal with RFC's that depend on each other? > well that's just my

[PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Silvio Marijić
Hi, Discussion is open for following rfc https://wiki.php.net/rfc/immutability Cheers

[PHP-DEV] Re: [PECL-DEV] Intention to move mcrypt to PECL

2016-12-11 Thread Ferenc Kovacs
On Wed, Oct 19, 2016 at 7:44 PM, Leigh wrote: > > On Wed, 5 Oct 2016 at 20:11 Derick Rethans wrote: > >> It should be migrated properly, and also to GIT. >> > > Hi Ferenc, > > Can you create a php.net hosted git repository for this (I guess under > the

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Silvio Marijić
@Larry, first of all thanks for pointing out grammar issues, I will correct them. Now, regarding cloning of the immutable object, I'm aware of that issue and I'm not sure if we could even use clone operation for this purpose, I do have one proposal for that matter, consider example: immutable

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Larry Garfield
Assuming this was intended for the list... On 12/11/2016 05:55 PM, Mathieu Rochette wrote: Currently the only "unlocked context" for an object is its constructor. As discussed previously, that is insufficient. For any non-trivial object (more than 1-3 internal properties) creating a new one

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Silvio Marijić
This have occurred to me also, I wanted to separate that into two RFC's, but then how we deal with RFC's that depend on each other? 2016-12-12 1:03 GMT+01:00 Larry Garfield : > Assuming this was intended for the list... > > On 12/11/2016 05:55 PM, Mathieu Rochette wrote:

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Marcio Almada
2016-12-11 12:57 GMT-04:00 Silvio Marijić : > Hi, > > Discussion is open for following rfc https://wiki.php.net/rfc/immutability > > Cheers > Hi, Can you make a pull request? I'd like to comment the patch but it's not possible to make inline reviews only with a diff

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Mathieu Rochette
On 12/12/2016 01:16 AM, Silvio Marijić wrote: > This have occurred to me also, I wanted to separate that into two RFC's, > but then how we deal with RFC's that depend on each other? well that's just my opinion but I don't think they depend on each other, this rfc seems useful on its own. The

Re: [PHP-DEV][RFC][DISCUSSION] - Immutable classes and properties

2016-12-11 Thread Larry Garfield
On 12/11/2016 10:57 AM, Silvio Marijić wrote: Hi, Discussion is open for following rfc https://wiki.php.net/rfc/immutability Cheers Some grammar issues: "After object is constructor" => should be "After the object's constructor has run". " If immutable property contains object, to