title: php check if array values are consecutive
body: <p>I have an array <code>$dice (4,7,3,6,7)</code></p>
  
  <p>I need a way of checking if each of the values in that array are consecutive numbers. </p>
  
  <p>Is there an easy method of doing this?</p>