Re: [RFC] Alternative typehinting syntax for accessors

From: Date: Sun, 20 Jan 2013 15:26:45 +0000
Subject: Re: [RFC] Alternative typehinting syntax for accessors
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-65041@lists.php.net to get a copy of this message
On Thu, Jan 10, 2013 at 11:11 PM, Stas Malyshev <smalyshev@sugarcrm.com>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

« previous php.internals (#65041) next »