Fixed test (tests/experimental/setmulti_badserialize.phpt)

This commit is contained in:
Xinchen Hui
2016-07-23 20:44:03 +08:00
parent de9494f491
commit 6837d89494
2 changed files with 2 additions and 2 deletions

View File

@@ -1786,7 +1786,7 @@ static void php_memc_setMulti_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_ke
}
if (!s_memc_write_zval (intern, MEMC_OP_SET, server_key, str_key, value, expiration)) {
php_error_docref(NULL, E_WARNING, "failed to set key %s", str_key->val);
php_error_docref(NULL, E_WARNING, "failed to set key %s", ZSTR_VAL(str_key));
}
if (!skey) {

View File

@@ -42,6 +42,6 @@ try {
var_dump($m->getByKey('kef', 'foo'));
--EXPECT--
Memcached::setMultiByKey(): failed to set key foo
1234
int(10)