Re: [PHP-DEV][RFC][DISCUSSION] Immutability

2018-02-25 Thread Paul Jones
> On Feb 25, 2018, at 12:59, Silvio Marijić wrote: > > Here is link to tweet > https://twitter.com/SilvioMarijic/status/965564630071300096 After having read that, I think "immutable" is still perfectly reasonable. -- Paul M. Jones pmjo...@pmjones.io http://paul-m-jones.com Modernizing Leg

Re: [PHP-DEV][RFC][DISCUSSION] Immutability

2018-02-25 Thread Silvio Marijić
Here is link to tweet https://twitter.com/SilvioMarijic/status/965564630071300096 2018-02-25 19:53 GMT+01:00 Paul Jones : > > > > On Feb 25, 2018, at 11:29, Silvio Marijić > wrote: > > > > I had discussion on Twitter regarding semantics of keyword 'immutable'. > > Can you link to the discussion?

Re: [PHP-DEV][RFC][DISCUSSION] Immutability

2018-02-25 Thread Paul Jones
> On Feb 25, 2018, at 11:29, Silvio Marijić wrote: > > I had discussion on Twitter regarding semantics of keyword 'immutable'. Can you link to the discussion? I am interested to read it. -- Paul M. Jones pmjo...@pmjones.io http://paul-m-jones.com Modernizing Legacy Applications in PHP http

Re: [PHP-DEV][RFC][DISCUSSION] Immutability

2018-02-25 Thread Silvio Marijić
I had discussion on Twitter regarding semantics of keyword 'immutable'. I am considering now to replace keyword 'immutable' with 'value'. How would you compare those two, which one is more suitable here? On Feb 25, 2018 6:24 PM, "Silvio Marijić" wrote: > Hi Dan, > > So far that is still only a

Re: [PHP-DEV][RFC][DISCUSSION] Immutability

2018-02-25 Thread Silvio Marijić
Hi Dan, So far that is still only assumption made based on the fact that most of the code for protecting state is composed of bit checks but I am definitely interested to see benchmark for this RFC. Best regards, On Feb 25, 2018 5:49 PM, "Dan Ackroyd" wrote: On 23 February 2018 at 13:47, Silvi

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2018-02-25 Thread Dan Ackroyd
On 15 February 2018 at 16:53, Aljosha Papsch wrote: > > Let me revive this thread. So...have you looked at doing the suggested next steps? Or possibly offered to pay someone to do it? On 6 August 2017 at 14:30, Dan Ackroyd wrote: > > The next step should be you (or anyone else) attempting

Re: [PHP-DEV][RFC][DISCUSSION] Immutability

2018-02-25 Thread Dan Ackroyd
On 23 February 2018 at 13:47, Silvio Marijić wrote: > In addition to your question about impact on the performance, there is > none. Have you actually measured that there is no performance impact, or is that an assumption from what affect the code should have? cheers Dan -- PHP Internals - PHP