Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110778 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97302 invoked from network); 29 Jun 2020 15:33:28 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 29 Jun 2020 15:33:28 -0000 To: internals@lists.php.net References: Date: Mon, 29 Jun 2020 15:22:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Posted-By: 87.81.129.66 Subject: Re: [PHP-DEV] [RFC] Property write visibility From: marandall@php.net (Mark Randall) Message-ID: 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