PATH:
opt
/
alt
/
tests
/
alt-php52-pecl-memcached_2.1.0-1.el8
/
tests
--TEST-- Session bad configurations, prefix --SKIPIF-- <?php if (!extension_loaded("memcached")) print "skip"; if (!Memcached::HAVE_SESSION) print "skip"; ?> --INI-- memcached.sess_locking = on memcached.sess_lock_wait = 150000 memcached.sess_prefix = "memc.sess.key." session.save_handler = memcached --FILE-- <?php include dirname (__FILE__) . '/config.inc'; ini_set ('session.save_path', MEMC_SERVER_HOST . ':' . MEMC_SERVER_PORT); error_reporting(0); function handler($errno, $errstr) { echo "$errstr\n"; } set_error_handler('handler', E_ALL); ini_set('memcached.sess_prefix', " \n"); session_start(); session_write_close(); --EXPECTF-- session_start(): bad memcached key prefix in memcached.sess_prefix
[-] options.phpt
[edit]
[-] check_if_persistent.phpt
[edit]
[-] getserverlist.phpt
[edit]
[-] types_json.phpt
[edit]
[-] check_if_pristine.phpt
[edit]
[-] callback_exception.phpt
[edit]
[-] construct_persistent.phpt
[edit]
[-] testdata.res
[edit]
[-] session_badconf_emptyprefix.phpt
[edit]
[-] deletemultitypes.phpt
[edit]
[-] session_badconf_prefix.phpt
[edit]
[-] session_badconf_servers.phpt
[edit]
[-] invoke_callback_twice.phpt
[edit]
[-] types.inc
[edit]
[-] bug_16084.phpt
[edit]
[-] callback_exception_2.phpt
[edit]
[-] invoke_callback.phpt
[edit]
[-] session_badconf_locktime.phpt
[edit]
[-] construct.phpt
[edit]
[-] 001.phpt
[edit]
[-] invoke_callback_2.phpt
[edit]
[-] clone.phpt
[edit]
[-] no-not-found.phpt
[edit]
[-] incrdecr_invalid_key.phpt
[edit]
[-] config.inc
[edit]
[-] deleted.phpt
[edit]
[+]
..
[-] bad_construct.phpt
[edit]