bug49341.phpt 280 B

12345678910111213141516
  1. --TEST--
  2. Bug #49341: add SO_REUSEPORT support for socket_set_option()
  3. --EXTENSIONS--
  4. sockets
  5. --SKIPIF--
  6. <?php
  7. if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) {
  8. die('skip is not *BSD.');
  9. }
  10. --FILE--
  11. <?php
  12. var_dump(defined('SO_REUSEPORT'));
  13. ?>
  14. --EXPECT--
  15. bool(true)