1--TEST--
2IP_MTU_DISCOVER test
3--EXTENSIONS--
4sockets
5--SKIPIF--
6<?php
7if (PHP_OS != 'Linux') {
8    die('skip For Linux 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_MTU_DISCOVER, IP_PMTUDISC_DO);
16var_dump($ret);
17?>
18--EXPECT--
19bool(true)
20