Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
--TEST--
memcache->addServer() with microsecond timeout
--SKIPIF--
--FILE--
addServer($unreachableHost, $unreachablePort, false, 1, 0.1);
$t1 = microtime_float();
$memcache->set('test_key', '1');
$t2 = microtime_float();
$t = $t2 - $t1;
var_dump($t);
var_dump($t > 0.01 && $t < 0.2);
$memcache = new MemcachePool();
$memcache->addServer($unreachableHost, $unreachablePort, 0, true, 1, 0.1);
$t1 = microtime_float();
$memcache->set('test_key', '1');
$t2 = microtime_float();
$t = $t2 - $t1;
var_dump($t);
var_dump($t > 0.01 && $t < 0.2);
$memcache = new MemcachePool();
$t1 = microtime_float();
$memcache->connect($unreachableHost, $unreachablePort, 0, false, 1, 0.1);
$t2 = microtime_float();
$t = $t2 - $t1;
var_dump($t);
var_dump($t > 0.01 && $t < 0.2);
$memcache = new MemcachePool();
$memcache->addServer($unreachableHost, $unreachablePort, 0, true, 1, 1);
$memcache->setServerParams($unreachableHost, $unreachablePort, 0.1);
$t1 = microtime_float();
$memcache->set('test_key', '1');
$t2 = microtime_float();
$t = $t2 - $t1;
var_dump($t);
var_dump($t > 0.01 && $t < 0.2);
?>
--EXPECTF--
Notice: MemcachePool::set(): %s
float(0.%d)
bool(true)
Notice: MemcachePool::set(): %s
float(0.%d)
bool(true)
Notice: MemcachePool::connect(): %s
Warning: MemcachePool::connect(): %s
float(0.%d)
bool(true)
Notice: MemcachePool::set(): %s
float(0.%d)
bool(true)