Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64919 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82948 invoked from network); 13 Jan 2013 14:42:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2013 14:42:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=cpriest@zerocue.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cpriest@zerocue.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zerocue.com designates 67.200.53.250 as permitted sender) X-PHP-List-Original-Sender: cpriest@zerocue.com X-Host-Fingerprint: 67.200.53.250 mail.zerocue.com Received: from [67.200.53.250] ([67.200.53.250:37629] helo=mail.zerocue.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/11-09741-FD7C2F05 for ; Sun, 13 Jan 2013 09:42:42 -0500 Received: from [172.17.0.122] (unknown [66.25.151.173]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.zerocue.com (Postfix) with ESMTPSA id 53A52120382; Sun, 13 Jan 2013 14:42:36 +0000 (UTC) Message-ID: <50F2C7D8.3040508@zerocue.com> Date: Sun, 13 Jan 2013 08:42:32 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Mark CC: Stas Malyshev , Nikita Popov , PHP Developers Mailing List References: <50E41BB6.4030901@zerocue.com> <50E648BE.2060005@zerocue.com> <50E6822D.9060807@sugarcrm.com> <71B3F435-4289-473B-B4D7-EB2DB5F888A9@zerocue.com> <7213E637-26A2-4F44-82DE-297E751726CD@zerocue.com> <50E6F501.4090806@zerocue.com> <50E75658.6050006@sugarcrm.com> <50E79D16.1090905@zerocue.com> <50EF56BD.3040608@sugarcrm.com> <50EFBA6F.90702@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PHP-RFC] Property Accessors 1.2 : parent::$foo Issue From: cpriest@zerocue.com (Clint Priest) On 1/13/2013 8:01 AM, Mark wrote: > I'm guessing this RFC won't make it in PHP 5.5? Too bad since it did > seem like a very nice feature to have. > > I don't know if it is very helpful but posting nevertheless. I'm a > C++/Qt/QML/PHP developer and for me the proposed syntax in the v1.2 > document makes perfect sense and is intuitive to use. As for the > earlier example about isset... > > i'd expect an example like this: > > class SomeClass { > public $date { > get; > set(DateTime $date); > } > } > > $temp = new SomeClass(); > i'd expect "isset($temp->date)" to return exactly the same as if the > class where defined like this: > > class SomeClass { > public $date; > } That's correct, it will. Furthermore, isset() will never throw an error, even if it would not be legal to call isset or get (from 1.1 RFC changes). > I don't know if that issue was already sorted out but i wanted to > share my expectations in that regards. > > Will this make PHP 5.5? Or will it be deferred to 5.6? Nikita, Stas and I are working very hard to make it into 5.5, we expect to propose a vote sometime in the next couple of days. ** Any remaining feedback is appreciated, the RFC is being kept up to date w/ current understood consensus. ** -- -Clint