title: php array numbers comparison
body: <p>Let's say I have </p>
  
  <pre><code>$input = ['1, 2, 3, 4, 5']; 
  </code></pre>
  
  <p>and I need to get every number in the array that are stored as a string. Is there any possible way to use <code>foreach()</code> or anything else for every number in that string? In other words to retrieve numbers from string.
  Thanks in advance!</p>