Skip to content

Commit 211c529

Browse files
committed
Extend resource reservation to Fibers
1 parent 576655e commit 211c529

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_fibers.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ struct _zend_fiber {
117117

118118
/* Storage for fiber return value. */
119119
zval result;
120+
121+
/* Reserved for extensions */
122+
void *reserved[ZEND_MAX_RESERVED_RESOURCES];
120123
};
121124

122125
/* These functions may be used to create custom fiber objects using the bundled fiber switching context. */

0 commit comments

Comments
 (0)