title: Simple PHP strpos function not working, why?
body: <p>Why isn't this standalone code working:</p>
  
  <pre><code>$link = 'https://google.com';
  $unacceptables = array('https:','.doc','.pdf', '.jpg', '.jpeg', '.gif', '.bmp', '.png');
  
  foreach ($unacceptables as $unacceptable) {
          if (strpos($link, $unacceptable) === true) {
              echo 'Unacceptable Found&lt;br /&gt;';
          } else {
              echo 'Acceptable!&lt;br /&gt;';
          }
  }
  </code></pre>
  
  <p>It's printing acceptable every time even though https is contained within the <code>$link</code> variable.</p>