Re: Re: [RFC] Explicit call-site send-by-ref syntax

From: Date: Sun, 28 Jul 2019 13:01:56 +0000
Subject: Re: Re: [RFC] Explicit call-site send-by-ref syntax
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-106309@lists.php.net to get a copy of this message
On Sun, Jul 28, 2019, 04:47 Stanislav Malyshev <smalyshev@gmail.com> wrote: > Hi! > > > I think nowadays it is well known that by-reference passing is to be > > avoided and I don't see it particularly commonly in user code. > By-reference > > I don't think it's true. It depends on the style of coding, of course, > but there are many situations where the most convenient solution is > by-ref passing, mostly when single function can change more than one > thing. Nah, by-ref is pretty much avoided in OSS packages, but we can surely survey the ecosystem to verify this.

« previous php.internals (#106309) next »