Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64520 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5681 invoked from network); 4 Jan 2013 14:41:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2013 14:41:12 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:63130] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/7F-00128-60AE6E05 for ; Fri, 04 Jan 2013 09:41:11 -0500 Received: by mail-la0-f46.google.com with SMTP id fq13so9854028lab.33 for ; Fri, 04 Jan 2013 06:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vKOq+iOtpNEOinBz+6RT2DMMpEf08QRX3sncVfw1Xko=; b=PonTELc3K5ANr9SRNmHLuzcUssdX1cJ9YUungSUA3QbwGP4YnnTh54toEaeGXL20QQ mWwRYddt7elt7+xFAmuCDE4VTXQcZgj/FaYb8Pc1Gk6zs1BUbmpm/Zx7ujoiR87KQyw9 v7fb1WJC0YP+Yt8PSAvxfYy7/Rqy08/XWRDzuzSuAOrhGv+PCZOexoDSeGWZ/BBpLE4i T3OnHggz6w7gdm3l3xpK+tuwrlZ8TKvrsk1YfxpBepr00Ub3gdof+0O7y/0eRs69bXDL hdi/jhISYmiYVkfs9COjg8eC1FjfRY46F1N71Frui7A2eNZIiy8qcDxOoGm2UWpmRuPm i3+A== MIME-Version: 1.0 Received: by 10.152.162.1 with SMTP id xw1mr50537306lab.3.1357310468082; Fri, 04 Jan 2013 06:41:08 -0800 (PST) Received: by 10.112.4.168 with HTTP; Fri, 4 Jan 2013 06:41:07 -0800 (PST) Date: Fri, 4 Jan 2013 15:41:07 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=f46d042ef4a54ccba404d277781f Subject: [RFC] Alternative typehinting syntax for accessors From: nikita.ppv@gmail.com (Nikita Popov) --f46d042ef4a54ccba404d277781f Content-Type: text/plain; charset=ISO-8859-1 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 --f46d042ef4a54ccba404d277781f--