> > 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
- Re: [PHP-DEV] [RFC][Vote] Typed ... Rasmus Schultz
- Re: [PHP-DEV] [RFC][Vote] Typed ... Rowan Collins
- Re: [PHP-DEV] [RFC][Vote] Typed ... Lester Caine
- Re: [PHP-DEV] [RFC][Vote] Typed ... Marco Pivetta
- Re: [PHP-DEV] [RFC][Vote] Typed ... MichaĆ Brzuchalski
- Re: [PHP-DEV] [RFC][Vote] Typed ... Rowan Collins
- Re: [PHP-DEV] [RFC][Vote] Typed Properties Thomas Bley
- Re: [PHP-DEV] [RFC][Vote] Typed Properties Marco Pivetta
- Re: [PHP-DEV] [RFC][Vote] Typed Properties Niklas Keller
- Re: [PHP-DEV] [RFC][Vote] Typed Properties Marco Pivetta
- Re: [PHP-DEV] [RFC][Vote] Typed Propertie... Niklas Keller
- Re: [PHP-DEV] [RFC][Vote] Typed Prope... Bob Weinand
- Re: [PHP-DEV] [RFC][Vote] Typed ... Niklas Keller
- Re: [PHP-DEV] [RFC][Vote] Typed ... Bob Weinand
- Re: [PHP-DEV] [RFC][Vote] Typed ... Niklas Keller
- Re: [PHP-DEV] [RFC][Vote] Typed ... Bob Weinand
- Re: [PHP-DEV] [RFC][Vote] Typed ... Joe Watkins
- Re: [PHP-DEV] [RFC][Vote] Typed ... Joe Watkins
- [PHP-DEV] Re: [RFC][Vote] Typed Properties Benoit Schildknecht
- Re: [PHP-DEV] Re: [RFC][Vote] Typed Properties Benjamin Eberlei
- Re: [PHP-DEV] [RFC][Vote] Typed Properties Pascal MARTIN, AFUP