X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php80-pecl-memcached_3.2.0-1.el8/tests
opt
/
alt
/
tests
/
alt-php80-pecl-memcached_3.2.0-1.el8
/
tests
/
ðŸ“
..
📄
001.phpt
(183 B)
📄
add.phpt
(341 B)
📄
append.phpt
(651 B)
📄
bad_construct.phpt
(781 B)
📄
bad_construct_8.phpt
(701 B)
📄
bug_16084.phpt
(429 B)
📄
bug_16959.phpt
(1.25 KB)
📄
bug_17137.phpt
(921 B)
📄
bug_18639.phpt
(402 B)
📄
cachecallback.phpt
(1.18 KB)
📄
callback_exception.phpt
(903 B)
📄
callback_exception_2.phpt
(976 B)
📄
cas.phpt
(406 B)
📄
cas_multi.phpt
(1012 B)
📄
check_if_persistent.phpt
(795 B)
📄
check_if_pristine.phpt
(629 B)
📄
check_key.phpt
(3.75 KB)
📄
clone.phpt
(324 B)
📄
compression_types.phpt
(1.98 KB)
📄
conf_persist.phpt
(591 B)
📄
config.inc
(1.91 KB)
📄
construct.phpt
(154 B)
📄
construct_persistent.phpt
(447 B)
📄
default_behavior.phpt
(826 B)
📄
deleted.phpt
(435 B)
📄
deletemulti.phpt
(1.59 KB)
📄
deletemultitypes.phpt
(392 B)
📄
expire.phpt
(1.34 KB)
📄
flush_buffers.phpt
(545 B)
📄
get_flags.phpt
(1.13 KB)
📄
getdelayed.phpt
(1.12 KB)
📄
getmulti.phpt
(865 B)
📄
getserverbykey.phpt
(1023 B)
📄
getserverlist.phpt
(1012 B)
📄
gh_155.phpt
(1.2 KB)
📄
gh_21.phpt
(642 B)
📄
gh_500.phpt
(494 B)
📄
gh_77.phpt
(580 B)
📄
gh_90.phpt
(1.78 KB)
📄
gh_93.phpt
(863 B)
📄
incrdecr.phpt
(1.37 KB)
📄
incrdecr_64.phpt
(807 B)
📄
incrdecr_bykey.phpt
(1.39 KB)
📄
incrdecr_initial.phpt
(1.11 KB)
📄
incrdecr_invalid_key.phpt
(302 B)
📄
invalid_options.phpt
(356 B)
📄
invoke_callback.phpt
(540 B)
📄
invoke_callback_2.phpt
(1.48 KB)
📄
invoke_callback_twice.phpt
(357 B)
📄
keys_ascii.phpt
(3.18 KB)
📄
keys_binary.phpt
(3.26 KB)
📄
localserver.phpt
(322 B)
📄
memcachedserver.phpt
(2.84 KB)
📄
memcachedserver6.phpt
(2.72 KB)
📄
multi_order.phpt
(686 B)
📄
no-not-found.phpt
(470 B)
📄
options.phpt
(1.3 KB)
📄
pr_75.phpt
(644 B)
📄
prepend.phpt
(639 B)
📄
replace.phpt
(398 B)
📄
rescode.phpt
(1.78 KB)
📄
reset_keyprefix.phpt
(800 B)
📄
sasl_basic.phpt
(757 B)
📄
server.inc
(2.26 KB)
📄
server.php
(4.68 KB)
📄
session_badconf_emptyprefix.phpt
(629 B)
📄
session_badconf_locktime.phpt
(543 B)
📄
session_badconf_persistent.phpt
(662 B)
📄
session_badconf_prefix.phpt
(655 B)
📄
session_badconf_servers-php72.phpt
(771 B)
📄
session_badconf_servers.phpt
(698 B)
📄
session_basic.phpt
(706 B)
📄
session_basic2.phpt
(726 B)
📄
session_basic3.phpt
(735 B)
📄
session_lazy_warning.phpt
(1 KB)
📄
session_lock-php71.phpt
(1.58 KB)
📄
session_lock.phpt
(1.48 KB)
📄
session_persistent.phpt
(630 B)
📄
session_regenerate.phpt
(485 B)
📄
set_encoding_key2.phpt
(1 KB)
📄
set_large.phpt
(335 B)
📄
setmulti.phpt
(1.14 KB)
📄
setoptions.phpt
(1.05 KB)
📄
skipif.inc
(394 B)
📄
stats.phpt
(447 B)
📄
stats_hang.phpt
(2.17 KB)
📄
testdata.res
(4.76 KB)
📄
touch_binary.phpt
(1.85 KB)
📄
types.inc
(2.76 KB)
📄
types_igbinary.phpt
(451 B)
📄
types_igbinary_multi.phpt
(469 B)
📄
types_json.phpt
(437 B)
📄
types_json_multi.phpt
(455 B)
📄
types_msgpack.phpt
(501 B)
📄
types_msgpack_multi.phpt
(513 B)
📄
types_php.phpt
(348 B)
📄
types_php_multi.phpt
(360 B)
📄
undefined_set.phpt
(633 B)
📄
user-flags.phpt
(2.52 KB)
📄
vbucket.phpt
(627 B)
📄
vbucket_error_7.phpt
(1.03 KB)
📄
vbucket_error_8.phpt
(1.08 KB)
📄
version.phpt
(269 B)
Editing: config.inc
<?php if (file_exists (dirname (__FILE__) . '/config.inc.local')) { include dirname (__FILE__) . '/config.inc.local'; } else { define ("MEMC_SERVER_HOST", "127.0.0.1"); define ("MEMC_SERVER_PORT", 11211); //define ("MEMC_SASL_SERVER_HOST", "127.0.0.1"); //define ("MEMC_SASL_SERVER_PORT", 11212); //define ('MEMC_SASL_USER', 'memcached'); //define ('MEMC_SASL_PASS', 'test'); } function memc_create_instance ($host, $port, array $opts = array (), $persistent_id = null) { $memcached = new Memcached($persistent_id); if ($memcached->setOptions ($opts) == false) echo "Failed to set options" . PHP_EOL; $memcached->addServer($host, $port); if ($memcached->flush() === false) { return NULL; } return $memcached; } function memc_get_instance (array $opts = array (), $persistent_id = null) { return memc_create_instance(MEMC_SERVER_HOST, MEMC_SERVER_PORT, $opts, $persistent_id); } function memc_get_sasl_instance (array $opts = array (), $persistent_id = null) { return memc_create_instance(MEMC_SASL_SERVER_HOST, MEMC_SASL_SERVER_PORT, $opts, $persistent_id); } function memc_run_test ($test_function, $options = array ()) { foreach ($options as $option_set) { $memc = memc_get_instance ($option_set ['options']); $test_function ($memc, $option_set); } echo "TEST DONE" . PHP_EOL; } function memc_create_combinations ($name, $serializer, $ignore_object_type = false) { return array ( array ( 'title' => "$name serializer, ascii protocol", 'options' => array ( Memcached::OPT_SERIALIZER => $serializer ), 'ignore_object_type' => $ignore_object_type ), array ( 'title' => "$name serializer, binary protocol", 'options' => array ( Memcached::OPT_BINARY_PROTOCOL => true, Memcached::OPT_SERIALIZER => $serializer ), 'ignore_object_type' => $ignore_object_type ), ); } function memc_get_version($memc) { $version = $memc->getVersion(); return array_pop($version); }
Upload File
Create Folder