title: Cast all digital values in array as integer-type, otherwise leave non-digital values as strings
body: <p>Given an array, how do I convert array starting at key [1] from type string to type int?</p>
  
  <pre><code>Array
  (
    [0] =&gt; "id"
    [1] =&gt; "6086220176"
    [2] =&gt; "6542925762"
    [3] =&gt; "6623113406"
    [4] =&gt; "6702782948"
  )
  </code></pre>
  
  <p>I've checked out related question <a href="https://stackoverflow.com/questions/9593765/how-to-convert-array-values-from-string-to-int">how to convert array values from string to int?</a> already, but I would like to skip the first key "id" int he conversion, and not all keys in array!</p>