mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
17 lines
280 B
PHP
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)
|