title: php: getting random values or multi-values in order from an array
body: <p>My array;</p>
  
  <pre><code>$array=array("x","y","z","t","k");
  </code></pre>
  
  <p>for example i wanna get 10 results from this array and want this results are in-order(array order) &amp; has random number values.</p>
  
  <p>like this:</p>
  
  <ol>
  <li>result: x</li>
  <li>result: x|y|k</li>
  <li>result: z|k</li>
  <li>result: y</li>
  <li>result: x</li>
  <li>result: x|y|z|t|k</li>
  <li>result: y|z|k</li>
  <li>result: x|t</li>
  <li>result: k</li>
  <li>result: x|z</li>
  </ol>
  
  <p>but no result for: z|x or t|y|k (because these are not in array order.)</p>