Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64555 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76171 invoked from network); 5 Jan 2013 18:07:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2013 18:07:19 -0000 Authentication-Results: pb1.pair.com header.from=jonwage@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jonwage@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.49 as permitted sender) X-PHP-List-Original-Sender: jonwage@gmail.com X-Host-Fingerprint: 209.85.215.49 mail-la0-f49.google.com Received: from [209.85.215.49] ([209.85.215.49:64925] helo=mail-la0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/72-62408-6DB68E05 for ; Sat, 05 Jan 2013 13:07:18 -0500 Received: by mail-la0-f49.google.com with SMTP id fk20so11582229lab.22 for ; Sat, 05 Jan 2013 10:07:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=PP0WxvK8lulisRkjyhhYgTF4QbcRiTY1Vvmf0zbqs8Q=; b=vXwLOUwNoJeivG7poOIbZx93u3F/RMR55sWBEsM+/mAofPDjVg28KYQsQd9maXpGn/ iPdvqjZZPxvinKNLucJN6bbWRacpeq8XwiYs0SF4T+KRdpsznKXXWPwIO9HODc1+3+07 rNSXRr/aKPQb9OWnNFiaCPeCx8Fo6kBMLOYwy4f3+YdRb5Fjxfa8Jph8c2MiHAxsSbOk LmP9l5AgsUBsaLd+katq1QH+ylQ0ph7A310n8fHkNJFPRV2PimvQNvNlTvC7C3T6ahN4 NcI4tsiGM5ZGvFBCSg0uvOcbUZNmGos25a+viYDOChqzs/NFvhMO0JBFkoL8A/Irpo10 wn3Q== Received: by 10.112.27.33 with SMTP id q1mr23318559lbg.78.1357409235216; Sat, 05 Jan 2013 10:07:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.102.38 with HTTP; Sat, 5 Jan 2013 10:06:55 -0800 (PST) In-Reply-To: References: Date: Sat, 5 Jan 2013 12:06:55 -0600 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary=bcaec554da7247aa7804d28e77d3 Subject: Re: [PHP-DEV] [RFC] Alternative typehinting syntax for accessors From: jonwage@gmail.com (Jonathan Wage) --bcaec554da7247aa7804d28e77d3 Content-Type: text/plain; charset=ISO-8859-1 This looks really nice. I would love to see this in PHP +1 - Jon On Fri, Jan 4, 2013 at 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 > -- Connect with me on *http://twitter.com/jwage* and http://about.me/jwage to keep in touch. Join OpenSky today: http://osky.co/l6a75g --bcaec554da7247aa7804d28e77d3--