Generators in PHP

From: Date: Tue, 05 Jun 2012 17:35:14 +0000
Subject: Generators in PHP
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi internals!

In the last few days I've created a proof of concept implementation
for generators in PHP. It's not yet complete, but the basic
functionality is there:
https://github.com/nikic/php-src/tree/addGeneratorsSupport

The implementation is outlined in the RFC-stub here:
https://wiki.php.net/rfc/generators

Before going any further I'd like to get some comments about what you
think of adding generator support to PHP.

If you don't know what generators are you should have a look at the
"Introduction" section in the above RFC or in the Python documentation
at http://wiki.python.org/moin/Generators.

Nikita


Thread (142 messages)

« previous php.internals (#60741) next »