On 29/06/2020 15:13, André Rømcke wrote:
Would something closer to Swift be better? If so I expanded the RFC with
that syntax option as well:

Borrowing from the various accessors RFCs:

public int $x {
  protected set;
  protected unset;
}

Then a future RFC can build upon it by adding the override functions while keeping the same base syntax.

Mark Randall


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to