On 06/06/2012 04:42 AM, Laruence wrote:
> On Wed, Jun 6, 2012 at 10:27 AM, Laruence <larue...@php.net> wrote:
>> On Wed, Jun 6, 2012 at 10:15 AM, Laruence <larue...@php.net> wrote:
>>> Hi Nikita:
>>>
>>>    the most important part to me is how did you implemented `yield`
>>> keyword,   is there a whole patch file I can look into?
>> Nervermind,  I will check the branch out later
>>
>> thanks
> 
> After a quick look,  I think the main idea should goes to two parts:
> 
> 1. implement yield (Zend)
> 2. implement spl_generators but not generator class (Spl)

yield is interesting. It is one of the main features Facebook added, so
it might be worthwhile poking someone there for their implementation
details in order to at least be somewhat compatible.

-Rasmus


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to