1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

Merge branch 'PHP-7.0'

This commit is contained in:
Bob Weinand
2016-01-07 15:13:07 +01:00
+1 -1
View File
@@ -512,7 +512,7 @@ ZEND_API zend_generator *zend_generator_update_current(zend_generator *generator
EG(current_execute_data) = original_execute_data;
} else {
zval_dtor(&root->value);
zval_ptr_dtor(&root->value);
ZVAL_COPY(&root->value, &root->node.parent->value);
ZVAL_COPY(ZEND_CALL_VAR(root->execute_data, yield_from->result.var), &root->node.parent->retval);
}