Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skip test if touch is not available

  • Loading branch information...
commit 9a158751223faea67012e8687fceda0408d5af6a 1 parent db9f9ef
@mkoppanen mkoppanen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/expire.phpt
View
2  tests/expire.phpt
@@ -4,7 +4,7 @@ Memcached store, fetch & touch expired key
https://code.google.com/p/memcached/issues/detail?id=275
--SKIPIF--
<?php if (!extension_loaded("memcached")) print "skip";
-if (!is_callable('Memcached::touch')) die ("skip memcached::touch is not available");
+if (!method_exists("memcached", "touch")) die ("skip memcached::touch is not available");
?>
--FILE--
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.