title: Check all values in an array by using a loop PHP
body: <p>I have an array</p>
  
  <pre><code>Array
  (
      [0] =&gt; 123
      [1] =&gt; 1244
      [2] =&gt; 34124
      [3] =&gt; 123
  )
  </code></pre>
  
  <p>is there a loop that will check if the values in my array are equal to each other?</p>