这些函数的行为受 php.ini 中的设置影响。
这是配置指令的简短说明。
pthreads.max
Provides system administrators a way to limit the amount of Threads an instance of PHP can create.
pthreads.importing
Provides system administrators a way to disable importing threads into other context for the purposes of security.