1--TEST-- 2parent::$prop::get() ZPP 3--FILE-- 4<?php 5 6class A { 7 public int $prop; 8} 9 10class B extends A { 11 public int $prop { 12 get { 13 return parent::$prop::get(new stdClass()); 14 } 15 } 16} 17 18$b = new B(); 19try { 20 var_dump($b->prop); 21} catch (Error $e) { 22 echo $e->getMessage(), "\n"; 23} 24 25?> 26--EXPECT-- 27A::$prop::get() expects exactly 0 arguments, 1 given 28