php-src/ext/sockets/tests/bug49341.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

17 lines
280 B
PHP

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