title: redis - add multiple values to a list and fetch multiple values
body: <p>I don't know if <code>list</code> is the right data type?</p>
  
  <p>I need to add a lot of items to a list and then I have to fetch all items.. After an item is fetched it must be removed</p>
  
  <pre><code>$list = 'the:list';
  $redis
      -&gt;multi()
      -&gt;lRange($list, 0, -1)
      -&gt;lTrim($list, -1, 0)
      -&gt;exec();
  </code></pre>
  
  <p>The above code fetch the items but doesn't delete them after they are fetched? What am I doing wrong?</p>