Beispiel #1
0
 public function load($data = NULL, $flags = 0)
 {
     if (_cacheStatus) {
         apc_bin_load($data, $flags);
     }
     return FALSE;
 }
Beispiel #2
0
 public function load($data = null, $flags = 0)
 {
     if (CACHE_STATUS) {
         apc_bin_load($data, $flags);
     }
     return false;
 }
Beispiel #3
0
 /**
  * Load the given binary dump into the APC file/user cache
  *
  * @link http://php.net/manual/en/function.apc-bin-load.php
  *
  * @param string $data
  *            The binary dump being loaded, likely from apc_bin_dump().
  * @param int $flags
  *            Either APC_BIN_VERIFY_CRC32, APC_BIN_VERIFY_MD5, or both.
  *
  * @return bool Returns true if the binary dump data was loaded with success, otherwise false is returned.
  *         false is returned if APC is not enabled, or if the data is not a valid APC binary dump (e.g., unexpected size).
  */
 public function bin_load($data, $flags = 0)
 {
     return apc_bin_load($data, $flags);
 }