xref: /PHP-7.2/ext/sockets/tests/bug46360.phpt (revision 6a22ec3e)
1--TEST--
2Bug 46360 - TCP_NODELAY constant (sock_get_option, sock_set_option)
3--CREDITS--
4Florian Anderiasch
5fa@php.net
6--SKIPIF--
7<?php
8    if (version_compare(phpversion(), '5.2.7', '<')) {
9        die('skip old php, not eligible');
10    }
11?>
12--FILE--
13<?php
14    var_dump('TCP_NODELAY');
15?>
16--EXPECT--
17string(11) "TCP_NODELAY"
18