title: How to check, if a php string contains only english letters and digits?
body: <p>In JS I used this code:</p>
  
  <pre><code>if(string.match(/[^A-Za-z0-9]+/))
  </code></pre>
  
  <p>but I don't know, how to do it in PHP.</p>