--TEST-- failure callback throws exception --SKIPIF-- = 5.0.0'); ?> --FILE-- addServer($nonExistingHost, $nonExistingPort, false, 1, 1, 15, true, '_callback_server_failure'); $result = 'Test1'; try { $result = @$memcache->set('test_key', 'test-032-01'); } catch (Exception $e) { var_dump($e->getMessage()); } var_dump($result); ?> --EXPECTF-- string(%d) "%s" string(5) "Test2" string(5) "Test1"