Working on @phpdoc property hook support. And slowly discovering how it works to make sure we do represent some sane behavior.

But there are some things that are really confusing me: https://3v4l.org/IUXn4#v8.4.8

Like php allows defaults on a virtual property?

#php84

cc @Crell

property hooks - created on 3v4l.org

View the output of this script on 3v4l.org: the online PHP shell with 250+ PHP versions

@jaapio @phpdoc Huh. I did not expect that. @ilutov?
@Crell @jaapio @phpdoc It doesn't. By using the shorthand you're implicitly assigning to the backing value.
@ilutov @Crell @phpdoc sorry I don't get it. A virtual property, with a default does set the default of the property it is using? Like the set is called?
@jaapio @Crell @phpdoc When using the shorthand => for set, the result is implicitly assigned to the backing value, which will make the property backed, allowing the specification of a default value. Essentially, it's translated from `set => $this->temperature = $value;` to `set { $this->temperature2 = $this->temperature = $value; }`.