title: PHP array_rand not working properly
body: <p>My randomize function does not work properly.
  I have an array which is getting randomized.</p>
  
  <p>The array contains three values but only two are chosen each time.</p>
  
  <pre><code>$sterren = array("3","4","5");
  $sterrenr = array_rand($sterren, 1);
  $sterrenf = $sterren[$sterrenr[0]];
  echo $sterrenf;
  </code></pre>
  
  <p>During the loop when outputting echo $sterrenf only the values 3 and 4 appear but no value 5.
  Anyone any ideas ?</p>