Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63371 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49432 invoked from network); 12 Oct 2012 10:48:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2012 10:48:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:46944] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/38-06472-085F7705 for ; Fri, 12 Oct 2012 06:48:32 -0400 Received: by mail-la0-f42.google.com with SMTP id e6so1918688lah.29 for ; Fri, 12 Oct 2012 03:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MbVF/itjUbdVPOxkakMf9nCj/A5UtAjLCl/7ySCQuys=; b=dR6Ih8YIIHGxH3B7WqLiJIkbqZ8UuUck3UhMmSB42jDVxU62hSVEdigJ8KPcKl15zh BAEPKzbyYPSmH668Om8pFVNQjj8DgT4GgqlbYeg8T6Z07SU/aDZ+hW0bHqURT7Xs0NKp X8KFioY83xeTDRRG6PmguMI+ZleJuL5ljaJX+vOaXoTgvpkrvUgqoXVCfJFgmgfUzLop muKbw+Ow986Yek80PaTSDxsz1cayvaJ1GzpeW/VzIfM/Tv1Wcrpa5oNZ/ZEG+JR+zrfe b3aHvtx/mNbZtEqn451sp8JSpI9n148sEFzOBY9D1NfzQ59URsjYQsncaUqTNjG0CXBA TURA== MIME-Version: 1.0 Received: by 10.112.8.2 with SMTP id n2mr1499148lba.5.1350038908798; Fri, 12 Oct 2012 03:48:28 -0700 (PDT) Received: by 10.112.83.100 with HTTP; Fri, 12 Oct 2012 03:48:28 -0700 (PDT) In-Reply-To: <9570D903A3BECE4092E924C2985CE485612B53E4@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B53E4@MBX202.domain.local> Date: Fri, 12 Oct 2012 12:48:28 +0200 Message-ID: To: Clint Priest Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 From: nikita.ppv@gmail.com (Nikita Popov) On Fri, Oct 12, 2012 at 7:23 AM, Clint Priest wrote: > Alright, here is the updated RFC as per discussions for the last few days: > > https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented > > If you could read it over, make sure I have all of your concerns correctly addressed and we can leave this open for the two week waiting period while I make the final code changes. > > -Clint I've been thinking a bit about the automatic properties again, and noticed that I forgot to name one use case: Asymmetric accessor visibility. Automatic properties may be useful in that context, so that you can write "public $foo { get; protected set; }" (though they don't necessarily need to be implemented as properties with auto generated code, rather just properties with more detailed visibility handling [a bit related to the stuff Amaury has been saying]). Nikita