title: Does array element contain substring?
body: <p>I'd like a function that checks whether an array's items <em>contain</em> a string.
  As such:</p>
  
  <pre><code>array(1 =&gt; 'Super-user', 'Root', 'Admin', 'Administrator', 'System', 'Website', 'Owner', 'Manager', 'Founder');
  </code></pre>
  
  <p>And then checking for <code>admin12</code> should return true as a part of <code>admin12</code> (<code>admin</code>) is also a part of the array.</p>
  
  <p>I came this far:</p>
  
  <pre><code>$forbiddennames= array(1 =&gt; 'Super-user', 'Root', 'Admin', 'Administrator', 'System', 'Website', 'Owner', 'Manager', 'Founder');    
  
  if(in_array( strtolower($stringtocheck), array_map('strtolower', $forbiddennames))){
          echo '"This is a forbidden username."';
      } else {
          echo 'true';
      }
  }
  </code></pre>
  
  <p>Only this only echos "This is a forbidden username." when I check for <code>admin</code>. I want it also to echo when checking for <code>admin12</code>.</p>
  
  <p>Is this possible (and how)?</p>