Get the number of CPU
« swoole_client_select
swoole_errno »
PHP Manual
Swoole Functions
Get the number of CPU
swoole_cpu_num
swoole_cpu_num
—
Get the number of CPU
Description
swoole_cpu_num
():
int
Parameters
This function has no parameters.
Return Values
The number of CPU.