Can't combine strpos and !empty in PHP, why?
<p>I have two lines in PHP that if I combine causes my page to stop loading...Unfortunately, I have no error message using <code>error_reporting(E_ALL | E_STRICT); ini_set('display_errors', true);</code>, and nothing in my apache error.log file.</p>

<p><strong>this works:</strong></p>

<pre><code>$user_setup = strpos($_SESSION['user'], "@");
if (!empty($user_setup)) {....
</code></pre>

<p><strong>But, this does not:</strong></p>

<pre><code>if (!empty(strpos($_SESSION['user'], "@"))) {....
</code></pre>

<p>Is there something about the <code>strpos</code> function causing this to not work? </p>

<p>Thanks for your help!</p>
