summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-05-12 00:44:18 +0300
committerDmitry Stogov <dmitry@zend.com>2016-05-12 00:44:18 +0300
commit8a7a913a7a8c6ba4303751e498ee3aaded037186 (patch)
tree07f93a72f5420ae0119f3f3bf9f553b0623a7d7e /Zend/zend_API.c
parent9ffbd644c4c6052cc263aa34131c8491007c5d7c (diff)
downloadphp-git-8a7a913a7a8c6ba4303751e498ee3aaded037186.tar.gz
Use main VM stack for generators. Only single call frame for generator itself is allocated on heap, call frames for nested functions are allocated on main VM stack. In case "yield" used in context of another function call, call stack has to be frozen and then restored.
Diffstat (limited to 'Zend/zend_API.c')
0 files changed, 0 insertions, 0 deletions