Home
last modified time | relevance | path

Searched refs:yield_from (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/Zend/tests/generators/
H A Drepeated_yield_from_with_immediate_release.phpt9 function yield_from($gen) {
13 var_dump(yield_from($gen)->current());
14 var_dump(yield_from($gen)->current());
/PHP-8.0/Zend/
H A Dzend_generators.c586 zend_op *yield_from = (zend_op *) new_root->execute_data->opline - 1; in zend_generator_update_current() local
588 if (yield_from->opcode == ZEND_YIELD_FROM) { in zend_generator_update_current()
616 …ZVAL_COPY(ZEND_CALL_VAR(new_root->execute_data, yield_from->result.var), &new_root_parent->retval); in zend_generator_update_current()

Completed in 7 milliseconds