xref: /PHP-8.1/ext/sockets/tests/bug49341.phpt (revision 74859783)
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--FILE--
12<?php
13var_dump(defined('SO_REUSEPORT'));
14?>
15--EXPECT--
16bool(true)
17