Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63349 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47425 invoked from network); 11 Oct 2012 12:45:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Oct 2012 12:45:29 -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 74.115.204.53 as permitted sender) X-PHP-List-Original-Sender: cpriest@zerocue.com X-Host-Fingerprint: 74.115.204.53 relay-hub203.domainlocalhost.com Received: from [74.115.204.53] ([74.115.204.53:19607] helo=relay-hub203.domainlocalhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/03-32023-46FB6705 for ; Thu, 11 Oct 2012 08:45:29 -0400 Received: from MBX202.domain.local ([169.254.169.44]) by HUB203.domain.local ([192.168.68.47]) with mapi id 14.02.0283.003; Thu, 11 Oct 2012 08:44:39 -0400 To: Pierre Joye , Sebastian Krebs CC: "internals@lists.php.net" Thread-Topic: [PHP-DEV] [RFC] Propety Accessors v1.1 Thread-Index: AQHNpfaE0wLAVcGGQAyyWuaNO91x4ZezPRQAgABndID//8fU0IAA3zsAgAAHbAD//71+gA== Date: Thu, 11 Oct 2012 12:44:39 +0000 Message-ID: <9570D903A3BECE4092E924C2985CE485612B50EC@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B3B48@MBX202.domain.local> <5073328D.5000002@gmail.com> <50735165.8010703@aaronholmes.net> <9570D903A3BECE4092E924C2985CE485612B4353@MBX202.domain.local> <760ab4f994a78a846cf86aafda71e0e2@mohiva.com> <9570D903A3BECE4092E924C2985CE485612B4EFE@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE485612B4F63@MBX202.domain.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.64.22] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] [RFC] Propety Accessors v1.1 From: cpriest@zerocue.com (Clint Priest) This would produce a compile error, cannot define set, property is read-onl= y. > -----Original Message----- > From: Pierre Joye [mailto:pierre.php@gmail.com] > Sent: Thursday, October 11, 2012 7:43 AM > To: Sebastian Krebs > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] [RFC] Propety Accessors v1.1 >=20 > hi, >=20 > On Thu, Oct 11, 2012 at 2:16 PM, Sebastian Krebs wr= ote: >=20 > > public read-only $hours { > > get { /* .. */ } > > set { /* .. */ } > > } >=20 > that should not be possible or it will be too complicated to document or = to use. Combinations of the readonly option and a setter > should not be possible. >=20 >=20 >=20 > Cheers, > -- > Pierre >=20 > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org >=20 > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visi= t: http://www.php.net/unsub.php