mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
0709eb80f3
Actually check for the constant, instead of just printing a string...
14 lines
280 B
PHP
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)
|