Skip to content

Instantly share code, notes, and snippets.

@stevencorona
Created November 13, 2010 22:11
Show Gist options
  • Save stevencorona/675696 to your computer and use it in GitHub Desktop.
Save stevencorona/675696 to your computer and use it in GitHub Desktop.
$array = new Redis\List("key");
$array[] = "value1";
$array[] = "value2";
echo count($array) . " items in the list";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment