All Products
Document Center

ApsaraDB for Memcache:PHP client usage

Last Updated:May 19, 2022

When you perform the add operation on an existing key (not expired), var_dump(add) prints true (this inversion parameter is incorrect) if the get operation has been performed before add. We recommend to determine whether the add operation was successful or not by verifying if the value of getResultCode is 0. If get is not performed before add, the var_dump(add) inversion parameter is correct.