Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Skip test if touch is not available

  • Loading branch information...
commit 9a158751223faea67012e8687fceda0408d5af6a 1 parent db9f9ef
Mikko Koppanen mkoppanen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/expire.phpt
2  tests/expire.phpt
@@ -4,7 +4,7 @@ Memcached store, fetch & touch expired key
<?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");
Please sign in to comment.
Something went wrong with that request. Please try again.