php class Memcache public function connect host port timeout return tr

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<?php
class Memcache {
public function connect($host, $port=0, $timeout=0) {
return true;
}
public function add($key, $var, $flag=0, $expire=0) {
}
public function set($key, $var, $flag=0, $expire=0) {
}
public function get($key, $flag=0) {
return false;
}
}