1--TEST--
2IP_DONTFRAG test
3--EXTENSIONS--
4sockets
5--SKIPIF--
6<?php
7if (PHP_OS != 'FreeBSD') {
8    die('skip For FreeBSD only');
9}
10?>
11--FILE--
12<?php
13$socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
14socket_bind($socket, '127.0.0.1', 5557);
15$ret = socket_set_option($socket, IPPROTO_IP, IP_DONTFRAG, 1);
16var_dump($ret);
17?>
18--EXPECT--
19bool(true)
20