public function setUp() { try { if (!@fsockopen('localhost', 11211)) { $this->markTestSkipped('memcached not reachable'); } } catch (\Exception $e) { $this->markTestSkipped('memcached not reachable'); } }