php-src/ext/sockets/tests/bug46360.phpt
Gabriel Caruso 0709eb80f3 Fix test for TCP_NODELAY constant
Actually check for the constant, instead of just printing a string...
2018-02-04 16:59:29 +01:00

14 lines
280 B
PHP

--TEST--
Bug 46360 - TCP_NODELAY constant (sock_get_option, sock_set_option)
--SKIPIF--
<?php if (!extension_loaded('sockets')) die('skip sockets extension not loaded'); ?>
--CREDITS--
Florian Anderiasch
fa@php.net
--FILE--
<?php
var_dump(TCP_NODELAY);
?>
--EXPECTF--
int(%d)