title: Card Game: Randomly pick 1 number out of array of 52 without duplicates
body: <p>I have a simple card game (using 52 cards - no jokers) that I want to randomly pick 1 card at a time until the winning card is chosen.</p>
  
  <p>I have the following array:</p>
  
  <pre><code>$cards = array(
      'diamond' =&gt; array(
          'A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K'
      ),
      'heart' =&gt; array(
          'A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K'
      ),
      'club' =&gt; array(
          'A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K'
      ),
      'spades' =&gt; array(
          'A', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'J', 'Q', 'K'
      ),
  );
  </code></pre>
  
  <p>As you can see, this array is sorted. I would like to shuffle them using the PHP function <code>shuffle($cards);</code> but it didn't work.</p>
  
  <p>What can I do in order to get this suffled?</p>