mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add support for executing a zend_execute_data
This adds another function execute_ex(), which accepts a zend_execute_data struct to run (contrary to execute(), which accepts a zend_op_array from which it initialized the execute_data). This needs a bit more cleanup.
This commit is contained in:
parent
ececcbce0e
commit
f627be5254
6 changed files with 132 additions and 68 deletions
|
@ -32,6 +32,8 @@ typedef struct _zend_generator {
|
|||
|
||||
/* The suspended execution context. */
|
||||
zend_execute_data *execute_data;
|
||||
/* Current value */
|
||||
zval *value;
|
||||
} zend_generator;
|
||||
|
||||
END_EXTERN_C()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue