📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 15:07:25
📂
/
/
opt
/
alt
/
tests
/
alt-php83-pecl-memcached_3.2.0-1.el8
/
tests
✏️
Editing: gh_77.phpt
--TEST-- Test for Github issue #77 --SKIPIF-- <?php $min_version = "1.4.8"; include dirname(__FILE__) . "/skipif.inc"; if (Memcached::LIBMEMCACHED_VERSION_HEX < 0x01000016) die ('skip too old libmemcached'); ?> --FILE-- <?php include dirname (__FILE__) . '/config.inc'; $mc = memc_get_instance (); $key = uniqid ("this_does_not_exist_"); $mc->touch($key, 5); var_dump ($mc->getResultCode() == Memcached::RES_NOTFOUND); $mc->set($key, 1, 5); $mc->set($key, 1, 5); var_dump ($mc->getResultCode() == Memcached::RES_SUCCESS); echo "OK\n"; ?> --EXPECT-- bool(true) bool(true) OK
💾 Save Changes
❌ Cancel