title: Get random phrases from an array in PHP?
body: <p>I have this phrases ex: test 1, test 2, test 3, now how to show on load page in random mode? </p>
  
  <p>ex function</p>
  
  <pre><code>function random()
  {
      $array = ['test 1', 'test 2', 'test 3'];
  
      return $random_array;
  }
  </code></pre>