swoole_cpu_num
laravel/octane
Supported Versions: PECL swoole >= 1.9.0
Get the number of CPU
<?php swoole_cpu_num
():
int
<?php
public function
cpuCount
():
int
{ return
swoole_cpu_num
(); } }
src/Swoole/SwooleExtension.php