Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63350 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48877 invoked from network); 11 Oct 2012 12:49:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2012 12:49:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qa0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:44425] helo=mail-qa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/63-32023-060C6705 for ; Thu, 11 Oct 2012 08:49:37 -0400 Received: by mail-qa0-f49.google.com with SMTP id a17so1469787qae.8 for ; Thu, 11 Oct 2012 05:49:34 -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=dCpMAoHIiGduCelwTn8E1jlGcL+Kn/nWkDH/TcexU1c=; b=bKS34uu51vjOFuIOz4W/JPC2hGfSsqBtXWXW+pnmsMlKqIoGrRq6hC/BXQNNe03Qzc abswC1X7Ops3Vi7JVIJJXGtropFXd9S4pfe56GPsaXcPDAoZUMNUannldmOmMNX1JOa7 v5hLKaYTxsrX34/3lXdFeoFF5pDrTaRj8KytWdQGXokuEWXJkG7vN4GYnpG3y2pl8Z+F QW4OlnMYrUvrFUUc7sEOrKQMQevspgMY0Fe5EynMaPMUrYV88OB1qofaBiGU3xQCERKE GCwaNBpoYwDU3Ze1pWzPKfkVvbT8Qt85ljQ1z/McbQ88hB8zRvL82C1Hb6bE3a6E6Sr4 IJGw== MIME-Version: 1.0 Received: by 10.49.129.201 with SMTP id ny9mr1444363qeb.37.1349959774312; Thu, 11 Oct 2012 05:49:34 -0700 (PDT) Received: by 10.49.107.163 with HTTP; Thu, 11 Oct 2012 05:49:34 -0700 (PDT) In-Reply-To: <5076B1B0.4040907@icical.net> References: <9570D903A3BECE4092E924C2985CE485612B3B48@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE485612B3B76@MBX202.domain.local> <5076B1B0.4040907@icical.net> Date: Thu, 11 Oct 2012 13:49:34 +0100 Message-ID: To: Cal Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Propety Accessors v1.1 From: leight@gmail.com (Leigh) On 11 October 2012 12:46, Cal wrote: > For me the best solution would be a new keyword, equivalent to a "var" > without write access from outside the class: New keywords should not (will not) be introduced trivially, they can cause massive headaches with backwards compatibility breaks, and should be a last resort only when absolutely necessary. Re-using existing keywords is the most logical solution. (i.e. suggestions such as "public get" and "protected/private set")