Skip to content

Commit 3d600d5

Browse files
committed
fix: add parameter parsing to Async_suspend function
1 parent e1180a0 commit 3d600d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

async.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ PHP_FUNCTION(Async_spawnWith)
163163

164164
PHP_FUNCTION(Async_suspend)
165165
{
166+
ZEND_PARSE_PARAMETERS_NONE();
167+
166168
if (UNEXPECTED(ZEND_ASYNC_OFF)) {
167169
return;
168170
}

0 commit comments

Comments
 (0)