Re: [RFC] Generators

From: Date: Mon, 20 Aug 2012 18:46:14 +0000
Subject: Re: [RFC] Generators
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-62304@lists.php.net to get a copy of this message
Hi!

> What would *actually* make sense here are return value typehints. E.g.
> one could have something like public Iterator getIterator() { ... }.

And again we're back to inventing syntax to do what documentation should
be doing.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (63 messages)

« previous php.internals (#62304) next »