title: Check if dates are continuous with PHP
body: <p>How can I check in this string that the date are continuous ?</p>
  
  <pre><code>$dates = "2017-01-08, 2017-01-09, 2017-01-10";
  </code></pre>
  
  <p>For this example, the 3 dates are continuous.</p>
  
  <pre><code>$dates = "2017-01-08, 2017-01-12, 2017-01-13";
  </code></pre>
  
  <p>For this example, the 3 dates are not continuous.</p>
  
  <p>Any help for this ?</p>
  
  <p>Thanks.</p>