title: How to convert a "HH:MM:SS" string to seconds with PHP?
body: <p>Is there a native way of doing <code>"HH:MM:SS" to seconds</code> with PHP 5.3 rather than doing a split on the colon's and multipling out each section the relevant number to calculate the seconds?</p>
  
  <hr>
  
  <p>For example in Python you can do :</p>
  
  <pre><code>string time = "00:01:05";
  double seconds = TimeSpan.Parse(time).TotalSeconds;
  </code></pre>
  
  <hr>