Lines Matching refs:prop
7 public readonly int $prop;
9 public function __construct(int $prop) {
10 $this->prop = $prop;
16 unset($test->prop);
22 public readonly int $prop;
25 unset($this->prop); // Unset uninitialized.
26 unset($this->prop); // Unset unset.
32 $this->prop = 1;
33 return $this->prop;
38 var_dump($test->prop); // Call __get.
39 var_dump($test->prop); // Don't call __get.
41 unset($test->prop); // Unset initialized, illegal.
47 public readonly int $prop;
52 unset($test->prop);
59 Cannot unset readonly property Test::$prop
63 Cannot unset readonly property Test2::$prop
64 Cannot unset protected(set) readonly property Test3::$prop from global scope