Make an random value from array where most selected value will one
<p>How to get random value from array set an value in array that will  be one to selected more than other?</p>

<pre><code>array('00','01','02');
</code></pre>

<p>I want to select an random value from this array with most selected value be '00', i.e the '00' value will be selected 80% and other two values will be 20%.</p>

<p>Here array can have many values, its only an example with three values</p>
