1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/sockets/tests/bug49341.phpt
Ilija Tovilo f39b5c4c25 Close PHP tags in tests
Closes GH-12422
2023-10-18 17:34:10 +02:00

18 lines
283 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)