You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
468 B

  1. <?php
  2. /**
  3. * Copyright (c) 2012, ideawu
  4. * All rights reserved.
  5. * @author: ideawu
  6. * @link: http://www.ideawu.com/
  7. *
  8. * SSDB PHP client SDK.
  9. */
  10. namespace App\Libs;
  11. /**
  12. * All methods(except *exists) returns false on error,
  13. * so one should use Identical(if($ret === false)) to test the return value.
  14. */
  15. class SimpleSSDB extends SSDB
  16. {
  17. function __construct($host, $port, $timeout_ms=10000){
  18. parent::__construct($host, $port, $timeout_ms);
  19. $this->easy();
  20. }
  21. }