diff --git a/ext-src/swoole_coroutine.cc b/ext-src/swoole_coroutine.cc index 7731c16f288..e984d6c1f33 100644 --- a/ext-src/swoole_coroutine.cc +++ b/ext-src/swoole_coroutine.cc @@ -619,8 +619,8 @@ void PHPCoroutine::main_func(void *arg) { task->output_ptr = nullptr; #if PHP_VERSION_ID < 80100 task->array_walk_fci = nullptr; - task->in_silence = false; #endif + task->in_silence = false; task->co = Coroutine::get_current(); task->co->set_task((void *) task);