Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65086 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85714 invoked from network); 22 Jan 2013 15:24:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2013 15:24:08 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.45 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.45 mail-oa0-f45.google.com Received: from [209.85.219.45] ([209.85.219.45:57130] helo=mail-oa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/68-28294-71FAEF05 for ; Tue, 22 Jan 2013 10:24:07 -0500 Received: by mail-oa0-f45.google.com with SMTP id i18so7193928oag.4 for ; Tue, 22 Jan 2013 07:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bsjbHsM6UO3ssj668ENnwVWgzkqJVdK5uuvZdGalf2U=; b=KLVxXXhKNfujTs3UqPoSpeO2kpnW/prSSEKI6jPSSb6Qy5+TQhw5FOKKrWW0QqD+KY DSjNXvyEyB3J9wdX67So/MlNFcT1EXJjD0MINpFUPMszPG9DVqhECzAsUpMYRmHwrYPr G/9OHeOuLZT3SEwyoQqg1RAt/gUOX1PJ3qzt0tWmDln4BBn+48YucA9wwQQK0SQCXLoy f3I3Z/xeAW7a1D+nu5S5HuNd1Y3Bjbz8p1f4h2g7IJr5miPFySWciVhkYD7RW3BERgDb u53gzKqGrnSyAOwy5ZqBaVQ5NSkhO7X/o60cqYIxngzXw3FJZuQEH6RNvR0dFbxBMP5S dTpA== MIME-Version: 1.0 X-Received: by 10.60.22.68 with SMTP id b4mr17512871oef.111.1358868244836; Tue, 22 Jan 2013 07:24:04 -0800 (PST) Received: by 10.76.82.234 with HTTP; Tue, 22 Jan 2013 07:24:04 -0800 (PST) In-Reply-To: <50FE7579.1010409@zerocue.com> References: <50F840F4.7080704@zerocue.com> <50FE7579.1010409@zerocue.com> Date: Tue, 22 Jan 2013 08:24:04 -0700 Message-ID: To: Clint Priest Cc: PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE] Property Accessors for 5.5 From: morrison.levi@gmail.com (Levi Morrison) > For those that have voted against this proposal, are there any > clarifications that can be made or questions answered? I can say that this bit is particularly confusing: public $foo {} My understanding that this code will not emit any warnings when interpreted, but the $foo property has no getter nor setter. You can call isset which will return false but unset will emit a warning, yes? I would think that the above snippet would create a property with all public, default implementations. I see why it doesn't: it doesn't permit you to declare only a getter and no setter. This is just one more reason for me to vote no on this.