Re: [RFC][Vote] Typed Properties

From: Date: Fri, 10 Jun 2016 13:34:17 +0000
Subject: Re: [RFC][Vote] Typed Properties
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-93863@lists.php.net to get a copy of this message
> > Top-posting, since I'm taking off now. > > From outside the class, properties are not visible at all, so their types > are un-important from outer scopes. > > echo $foo->bar; is not the same in instance method body or outside of the > class. > From outside it works just fine and doesn't throw: https://3v4l.org/L8CqF/rfc#rfc-typed_properties

« previous php.internals (#93863) next »