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