The RFC here: https://wiki.php.net/rfc/propertygetsetsyntax

Talks about allowing a sub-class to access a parent getter via 
TimePeriod::$Milliseconds or possibly parent::$Milliseconds.

Either of those methods (currently) tries to access a static property in the 
parent or defined class.  It would probably break existing code if we tried to 
make the parent:: or TimePeriod:: syntax to access the parent accessor.

Anyone have any suggestions on an alternative syntax?

I'm sure I could change it so that parent:: or TimePeriod:: from within a 
getter/setter would cause it to access the parent getter/setter but that would 
create an inconsistency within the language.

Ideas?

-Clint

Reply via email to