Files
php-memcached/tests/getdelayed_badserver.phpt
Pavel Djundik 7348cc11f7 Move working tests up a folder (#503)
Tests in the experimental/ folder were not executed on CI. The ones that work move up, the few
that remain in experimental/ need further investigation to get working or remove.
2023-04-27 08:35:07 -07:00

26 lines
445 B
PHP

--TEST--
Memcached::getDelayedByKey() with bad server
--SKIPIF--
<?php include "skipif.inc";?>
--FILE--
<?php
$m = new Memcached();
$m->addServer('localhost', 48813, 1);
$data = array(
'foo' => 'foo-data',
'bar' => 'bar-data',
'baz' => 'baz-data',
'lol' => 'lol-data',
'kek' => 'kek-data',
);
function myfunc() {
$datas = func_get_args();
var_dump($datas);
}
$m->getDelayedByKey('kef', array_keys($data), false, 'myfunc');
--EXPECT--