Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64558 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95594 invoked from network); 5 Jan 2013 21:00:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2013 21:00:45 -0000 Authentication-Results: pb1.pair.com header.from=cpriest@zerocue.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cpriest@zerocue.com; spf=pass; 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:58130] helo=mail.zerocue.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/C5-62408-C7498E05 for ; Sat, 05 Jan 2013 16:00:45 -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 4F831121072 for ; Sat, 5 Jan 2013 21:00:41 +0000 (UTC) Message-ID: <50E89474.6070903@zerocue.com> Date: Sat, 05 Jan 2013 15:00:36 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: PHP internals References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------070907020606020409020607" Subject: Re: [PHP-DEV] [RFC] Alternative typehinting syntax for accessors From: cpriest@zerocue.com (Clint Priest) --------------070907020606020409020607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit +1 from me as well. On 1/4/2013 8:41 AM, Nikita Popov wrote: > Hi internals! > > I already brought this up before, but I think the discussion at that time > was not very constructive and largely off-topic, so I'm bringing it up > again. To make sure everything is clear I wrote an RFC document: > > https://wiki.php.net/rfc/propertygetsetsyntax-alternative-typehinting-syntax > > This RFC proposes an alternative syntax for typehinting accessors, which > will in particular also allow to typehint properties directly, even if no > accessors are used (public DateTime $date). > > What are your opinions on this? > > Thanks, > Nikita > -- -Clint --------------070907020606020409020607--