--TEST-- Test flushing buffers --SKIPIF-- --FILE-- 1, Memcached::OPT_BUFFER_WRITES => 1, )); $key = uniqid ('flush_key_'); var_dump ($m->set($key, 'test_val')); $m2 = memc_get_instance (); var_dump ($m2->get ($key)); var_dump ($m->flushBuffers ()); sleep (1); var_dump ($m2->get ($key)); echo "OK" . PHP_EOL; ?> --EXPECT-- bool(true) bool(false) bool(true) string(8) "test_val" OK