mirror of
https://github.com/php-win-ext/pecl-memcache.git
synced 2026-03-24 00:52:07 +01:00
24 lines
358 B
PHP
24 lines
358 B
PHP
--TEST--
|
|
memcache->addServer() and memcache->close()
|
|
--SKIPIF--
|
|
<?php include 'connect.inc'; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
// Test for bug #6595
|
|
|
|
include 'connect.inc';
|
|
|
|
$memcache2 = new Memcache();
|
|
|
|
$result1 = $memcache2->addServer($host, $port, true, 50);
|
|
$result2 = $memcache2->close();
|
|
|
|
var_dump($result1);
|
|
var_dump($result2);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
bool(true)
|
|
bool(true)
|