Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65041 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68767 invoked from network); 20 Jan 2013 15:26:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2013 15:26:50 -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.217.182 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:64174] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/F2-25745-8BC0CF05 for ; Sun, 20 Jan 2013 10:26:49 -0500 Received: by mail-lb0-f182.google.com with SMTP id gg6so3215990lbb.27 for ; Sun, 20 Jan 2013 07:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=MWcyRwdKTooCqusBUT37w1x5s8HLYy7r+mmFtJQ6Lh0=; b=M75OHBqMNMIkGSXNo5EEFf1kU6d0IW6HUwLUNi68RKJQATgb/7Qa0H9Dr4t6C52jrh rpQV9yd3/AzJOE/l9vrwbMnMluII3rYlNKq7Z4s5+SUAHDbwycHLN01riH9kbMjSlGoV LuIPxs8pwxWvJKBJqmePpfYZAMw6tsBl604SvZZRJty2sQQ/FD5bCkHTrRMhP20Y434j eixR5Pauf5aGcP6R7dScUzuaVm7Nl1d5oxnG96MPHWp4tlel3p2gDPeRz7nCy9e3xiVe Bx+lAgm0c0v0VdK8IAdZJehIMb2PLo8ne12uj9dw31Jp1jHVRHkOBKPseUNO2As6DuCT WAyg== MIME-Version: 1.0 X-Received: by 10.152.104.199 with SMTP id gg7mr14391197lab.14.1358695605899; Sun, 20 Jan 2013 07:26:45 -0800 (PST) Received: by 10.112.138.131 with HTTP; Sun, 20 Jan 2013 07:26:45 -0800 (PST) In-Reply-To: <50EF3C9C.3020701@sugarcrm.com> References: <4ED7146272E04A47B986ED49E771E347BB3D6ABCB3@Ikarus.ameusgmbh.intern> <50EC5F8F.8010703@mrclay.org> <50EF3C9C.3020701@sugarcrm.com> Date: Sun, 20 Jan 2013 16:26:45 +0100 Message-ID: To: Stas Malyshev Cc: PHP internals Content-Type: multipart/alternative; boundary=f46d040890c1f2900404d3b9f833 Subject: Re: [PHP-DEV] [RFC] Alternative typehinting syntax for accessors From: nikita.ppv@gmail.com (Nikita Popov) --f46d040890c1f2900404d3b9f833 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jan 10, 2013 at 11:11 PM, Stas Malyshev wrote: > Hi! > > The proposal is pretty clear, but could you explain this part: > > The current accessors proposal will need special handling of the > typehint in any case (it can't be handled as a normal method typehint). > > What special handling is required? > I now added a patch for this proposal: https://gist.github.com/4579298 (For more detailed individual commits see here: https://github.com/nikic/php-src/commits/alternativeSyntax) If there are no more issues I'll start the vote on this. Nikita --f46d040890c1f2900404d3b9f833--