1--TEST-- 2GH-17200: Incorrect dynamic property offset 3--FILE-- 4<?php 5 6class A { 7 public $prop; 8} 9 10class B extends A { 11 public $prop { 12 get => $this->prop; 13 } 14} 15 16$b = new B(); 17var_dump($b); 18echo json_encode($b), "\n"; 19 20?> 21--EXPECTF-- 22object(B)#%d (1) { 23 ["prop"]=> 24 NULL 25} 26{"prop":null} 27