Annotation of embedaddon/php/ext/sockets/tests/bug49341.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #49341: add SO_REUSEPORT support for socket_set_option()
! 3: --SKIPIF--
! 4: <?php
! 5: if (!extension_loaded('sockets')) {
! 6: die('skip sockets extension not available.');
! 7: }
! 8: if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) {
! 9: die('skip is not *BSD.');
! 10: }
! 11: --FILE--
! 12: <?php
! 13: var_dump(defined('SO_REUSEPORT'));
! 14: --EXPECTF--
! 15: bool(true)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>