Re: [PHP-DEV] Re: [RFC] New custom object serialization mechanism

2019-03-04 Thread Marc
On 04.03.19 10:08, Nikita Popov wrote: On Mon, Mar 4, 2019 at 6:31 AM Marc wrote: (sorry for top posting) Hi Nikita, as for the question about magic methods vs. interface. I have the feeling that it could be done with both in a clean way to make both parties happy. 1. Having

Re: [PHP-DEV] [RFC] Saner string to number comparisons

2019-03-04 Thread Nikita Popov
On Wed, Feb 27, 2019 at 10:23 AM Zeev Suraski wrote: > > > On Tue, Feb 26, 2019 at 2:27 PM Nikita Popov wrote: > >> Hi internals, >> >> I think it is well known that == in PHP is a pretty big footgun. It >> doesn't >> have to be. I think that type juggling comparisons in a language like PHP >>

[PHP-DEV] PHP 7.4 Release Manager Selection

2019-03-04 Thread Christoph M. Becker
Hi all! With the first alpha of 7.4 due in three months, I think it's time to start the process of finding and electing release managers for the next minor release of PHP. We are looking for two souls to take on this role. Whomsoever is elected will be guided and helped by Stas and me, as well

Re: [PHP-DEV] print with newline

2019-03-04 Thread Johannes Schlüter
On Mo, 2019-03-04 at 07:30 -0800, Steven Penny wrote: > On Mon, 04 Mar 2019 02:23:46, Peter Kokot wrote: > > > > Now, interesting is that in bash and some langs (where the main > > environment is CLI), there is by default newline echoed. In PHP and > > other languages there isn't. Changing

Re: [PHP-DEV] print with newline

2019-03-04 Thread Joe Watkins
Afternoon Steven, I'm not going to apologize for making a joke ... it was a joke ... That being said, if you insist on pursuing an RFC for this, and would like to get on with writing that RFC, then here is an initial patch: https://gist.github.com/krakjoe/efff492611ce8f9fc12909023c89c7dc Let

Re: [PHP-DEV] print with newline

2019-03-04 Thread Steven Penny
On Mon, 04 Mar 2019 02:23:46, Peter Kokot wrote: Now, interesting is that in bash and some langs (where the main environment is CLI), there is by default newline echoed. In PHP and other languages there isn't. Changing default functionality of echo in PHP is like changing left-hand traffic

[PHP-DEV] RE: ZTS improvement idea

2019-03-04 Thread Anatol Belski
Hi Dmitry, > -Original Message- > From: Dmitry Stogov > Sent: Friday, February 15, 2019 8:12 AM > To: Anatol Belski ; Joe Watkins ; Bob > Weinand ; Nikita Popov ; z...@php.net > Cc: PHP internals > Subject: Re: ZTS improvement idea > > Hi Anatol, > > On 2/14/19 8:44 PM, Anatol Belski

Re: [PHP-DEV] print with newline

2019-03-04 Thread Rowan Collins
On Mon, 4 Mar 2019 at 04:31, Sara Golemon wrote: > On Sun, Mar 3, 2019 at 6:45 PM Stanislav Malyshev > wrote: > > > This is not Twitter and not any > > other forum where such things are welcome. > > > > I want to apologize for my behavior on this thread. I know you're directing > your message

Re: [PHP-DEV] Re: [RFC] New custom object serialization mechanism

2019-03-04 Thread Nikita Popov
On Mon, Mar 4, 2019 at 6:31 AM Marc wrote: > (sorry for top posting) > > Hi Nikita, > > as for the question about magic methods vs. interface. > > I have the feeling that it could be done with both in a clean way to > make both parties happy. > > > 1. Having __serialize/ __unserialize as magic