summaryrefslogtreecommitdiffstats
path: root/skipif.inc
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-13 07:48:15 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-13 07:48:15 +0100
commitedd2a458592e389378aa5bdb082b6886ac001bb7 (patch)
tree23c90c0b6ee4c14a20bee581509f47238b259152 /skipif.inc
parent86ef2bd436be92be6c26cfe2366ee37ceba2f12d (diff)
php-pecl-memcached: 3.0.2 (php 7, stable)
Diffstat (limited to 'skipif.inc')
-rw-r--r--skipif.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/skipif.inc b/skipif.inc
deleted file mode 100644
index 9ef73b0..0000000
--- a/skipif.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-if (!extension_loaded("memcached")) {
- die("skip memcached is not loaded\n");
-}
-
-include dirname(__FILE__) . "/config.inc";
-
-if (($m = memc_get_instance()) === NULL) {
- die ("skip can not connect to server\n");
-}
-
-if (isset($min_version)) {
- if (version_compare(memc_get_version($m), $min_version, "<")) {
- die("skip version of server pool is too old, $min_version is required\n");
- }
-}