--TEST-- Test if socket_set_option() works, option:SO_ATTACH_REUSEPORT_CBPF --EXTENSIONS-- sockets --SKIPIF-- --FILE-- getMessage() . PHP_EOL; } var_dump(socket_set_option( $socket, SOL_SOCKET, SO_ATTACH_REUSEPORT_CBPF, SKF_AD_CPU)); var_dump(socket_bind($socket, '0.0.0.0')); socket_listen($socket); socket_close($socket); ?> --EXPECTF-- bool(true) bool(true) Warning: socket_set_option(): Unable to set socket option [2]: No such file or directory in %s on line %d bool(true) bool(true)