1--TEST-- 2Using parent::$prop::get() on plain uninitialized typed property 3--FILE-- 4<?php 5 6class P { 7 public int $prop; 8} 9 10class C extends P { 11 public int $prop { 12 get => parent::$prop::get(); 13 } 14} 15 16$c = new C(); 17try { 18 var_dump($c->prop); 19} catch (Error $e) { 20 echo $e->getMessage(), "\n"; 21} 22 23?> 24--EXPECT-- 25Typed property C::$prop must not be accessed before initialization 26