79213642

Date: 2024-11-22 04:44:08
Score: 1.5
Natty:
Report link

You can do this natively starting with PHP 8.4

pcntl_setcpuaffinity(posix_getpid(), [0,1]);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: luzrain