Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed test for list_keys

  • Loading branch information...
commit d4e2192e88d66cb2537d82c1e93ea77eb7188cd9 1 parent a656fad
@videlalvaro authored
Showing with 5 additions and 2 deletions.
  1. +1 −1  README.md
  2. +4 −1 test.php
View
2  README.md
@@ -12,7 +12,7 @@ Open the Terminal and type:
> cd path/to/bitcask/ebin
> erlc path/to/phpcask/php_cask.erl
- > erl -sname phpcask
+ > erl -sname phpcask -pa ../deps/ebloom/ebin/
Inside the erlang CLI:
View
5 test.php
@@ -5,5 +5,8 @@
$phpcask = new PHPCask('phpcask@localhost', $argv[1]);
var_dump($phpcask->put("foo", "bar"));
var_dump($phpcask->get("foo"));
+var_dump($phpcask->put("foo2", "bar2"));
+var_dump($phpcask->list_keys());
var_dump($phpcask->delete("foo"));
-var_dump($phpcask->get("foo"));
+var_dump($phpcask->get("foo"));
+var_dump($phpcask->list_keys());
Please sign in to comment.
Something went wrong with that request. Please try again.