bug49341.phpt   [plain text]


--TEST--
Bug #49341: add SO_REUSEPORT support for socket_set_option()
--SKIPIF--
<?php
if (!extension_loaded('sockets')) {
    die('skip sockets extension not available.');
}
if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) {
    die('skip is not *BSD.');
}
--FILE--
<?php
var_dump(defined('SO_REUSEPORT'));
--EXPECTF--
bool(true)