Re: [PHP-DEV] [RFC] [DISCUSSION] Immutable/final/readonly properties

2020-02-23 Thread Marco Pivetta
Hey Larry, On Sun, Feb 23, 2020, 18:06 Larry Garfield wrote: > > It does not. > > 1) Race condition if I assume that a public write-once property is a > materialized value, but access it before it gets materialized. > This is alrey true for any public typed properties without default values,

Re: [PHP-DEV] RFC: Server-Side Request and Response Objects (v2)

2020-02-23 Thread Paul M. Jones
Hi all, > On Feb 12, 2020, at 12:20, Niklas Keller wrote: > >> A: It supports async exactly as much as PHP itself does. > > Not really. PHP has built-in stream_select / non-blocking streams, so > supports the tools required for async out of the box. Per private conversation with Niklas, he

Re: [PHP-DEV] [RFC] [DISCUSSION] Immutable/final/readonly properties

2020-02-23 Thread Larry Garfield
On Sun, Feb 23, 2020, at 2:39 AM, Mike Schinkel wrote: > > On Feb 21, 2020, at 6:17 PM, Larry Garfield wrote: > > I'm totally on board for better value object support, so that's a good > > motive for me. The question I have is whether this is really a good > > stepping stone in that direction

Re: [PHP-DEV] [RFC] Explicit call-site pass-by-reference (again)

2020-02-23 Thread Rowan Tommins
On 23/02/2020 09:47, Nikita Popov wrote: The prefer-ref/prefer-val thing is indeed a bit peculiar. It's an artifact of the current way of implicit by-reference passing, where the decision of whether to pass by-value or by-reference has to be made based on an "educated guess" at the call-site.

Re: [PHP-DEV] [RFC] Explicit call-site pass-by-reference (again)

2020-02-23 Thread Rowan Tommins
Hi Mike, First, I'd just like to reiterate that I absolutely see benefits in this proposal, and am definitely not campaigning for it to be abandoned as a bad idea. Like with any proposal, we have to weigh those benefits against the costs, and my current personal opinion is that the scales

[PHP-DEV] Re: turkish documentation

2020-02-23 Thread Christoph M. Becker
On 12.01.2020 at 17:45, Midori Koçak wrote: > I would like to translate some of the 7.4 documentation into turkish. It > seems like wiki username and password does not work for documentation. I > could not find the list of language mail lists as well. (it says > doc-{LANG}@lists.php.net but

Re: [PHP-DEV] [RFC] Explicit call-site pass-by-reference (again)

2020-02-23 Thread Nikita Popov
On Fri, Feb 21, 2020 at 11:20 PM Rowan Tommins wrote: > On 20 February 2020 14:13:58 GMT+00:00, Nikita Popov > wrote: > >Hi internals, > > > >I'd like to start the discussion on the "explicit call-site > >pass-by-reference" RFC again: > >https://wiki.php.net/rfc/explicit_send_by_ref > > > Hi

[PHP-DEV] [RFC] [DISCUSSION] str_contains

2020-02-23 Thread Philipp Tanlak
Hey PHP Devs! Since the RFC to str_contains is now almost a week old and most of the discussion happened in the initial discussion/proposal thread, I wasn't sure if everyone has seen it. Therefore I'd like to create this new email thread with the correct label for RFC discussions, before we open

Re: [PHP-DEV] [RFC] [DISCUSSION] Immutable/final/readonly properties

2020-02-23 Thread Mike Schinkel
> On Feb 21, 2020, at 6:17 PM, Larry Garfield wrote: > I'm totally on board for better value object support, so that's a good motive > for me. The question I have is whether this is really a good stepping stone > in that direction or if it would lead down a wrong path and lock us into too >