1--TEST-- 2Allow calling parent set in property hooks 3--FILE-- 4<?php 5 6class A { 7 private int $prop; 8} 9 10class B extends A { 11 public int $prop { 12 get => parent::$prop::get(); 13 } 14} 15 16$b = new B; 17try { 18 var_dump($b->prop); 19} catch (Error $e) { 20 echo $e->getMessage(), "\n"; 21} 22 23?> 24--EXPECT-- 25Cannot access private property A::$prop 26