Re: [RFC Discussion] Typed Properties

From: Date: Wed, 16 Mar 2016 18:51:11 +0000
Subject: Re: [RFC Discussion] Typed Properties
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-91707@lists.php.net to get a copy of this message
> Am 16.03.2016 um 19:41 schrieb Johannes Schlüter <johannes@schlueters.de>: > > On Wed, 2016-03-16 at 19:15 +0100, Bob Weinand wrote: >> >> Eih, only to typed properties. Everything else would be insane ;-) >> Sorry for being imprecise. > > Ok, quite a lot better, but still weird difference to the language. > > > There's a notable amount of places where references are being used and > often users aren't aware. (Binding parameters in database queries, in > order to support OUT parameters, comes to mind, many array functions > take an array, some functions use it to report error codes, ...) > > I guess this will be a famous support issue. > > And yeah, I'd love to "fix" all those places and get rid of the > references, but BC ... it's quite massive :-) > > > johannes Totally one of my biggest issues with it... While I'm liking the general idea, this definitely may be the reason why I'd vote "no" later. But we're in a very early state, maybe some clever mind finds a solution to this problem and makes everyone happy :-) Bob

« previous php.internals (#91707) next »