15 lines
392 B
PHP
15 lines
392 B
PHP
<?php
|
|
|
|
/**
|
|
* A wrapper class which provides compatibility between Memcached and Memcache
|
|
* PHP uses the Memcached class on *nix environments, and the Memcache class
|
|
* on Windows. This class provides compatibility between the two.
|
|
**/
|
|
class Memcached
|
|
extends Memcache
|
|
{
|
|
public function set($key, $value, $expiration = 0)
|
|
{
|
|
return parent::set($key, $value, 0, $expiration);
|
|
}
|
|
}
|