Re: [RFC Discussion] Typed Properties

From: Date: Wed, 16 Mar 2016 17:39:52 +0000
Subject: Re: [RFC Discussion] Typed Properties
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-91700@lists.php.net to get a copy of this message
On Wed, 2016-03-16 at 12:36 -0400, Phil Sturgeon wrote: > Hello everyone, > > I have completed the draft for an RFC, to add Typed Properties. The > patch has been written by the one and only Joe Watkins. > > https://wiki.php.net/rfc/typed-properties I'm no fan of all this typing business, but that's a lost case. Anyways: What about references? (yeah, references should die, but currently they still exist) What's expected here: class A { public int $i; } $a = new A(); $r = &$a->i; $r = "foobar"; johannes

« previous php.internals (#91700) next »