title: How to convert string to number in php?
body: <p>How to convert string to number in <strong>PHP</strong>?</p>
  
  <p>Could any one tell me how to convert string data to number?</p>
  
  <p>For example:</p>
  
  <pre><code>$Str = "212315"; // convert to 212315
  </code></pre>