Generator::next

(PHP 5 >= 5.5.0, PHP 7)

Generator::nextResume execution of the generator

설명

public void Generator::next ( void )

인수

이 함수는 인수가 없습니다.

반환값

값을 반환하지 않습니다.

add a note add a note

User Contributed Notes 1 note

up
0
mark at lange dot demon dot co dot uk
8 years ago
It should be noted that next() sends an implicit null into the generator to ensure that code execution isn't blocked if the generator is expecting a value to be sent into it and the code doesn't execute any send()
To Top