1--TEST-- 2Bug #49341: add SO_REUSEPORT support for socket_set_option() 3--EXTENSIONS-- 4sockets 5--SKIPIF-- 6<?php 7 8if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) { 9 die('skip is not *BSD.'); 10} 11?> 12--FILE-- 13<?php 14var_dump(defined('SO_REUSEPORT')); 15?> 16--EXPECT-- 17bool(true) 18