Unexpected ! in checking multiple variables : <p>I need to check multiple varibles but I'm getting the following error:</p>

<p><strong>Parse error: syntax error, unexpected '!' in /Applications/MAMP/htdocs/carematch3/includes/user.php on line 42</strong></p>

<p>LINE 42</p>

<pre><code>if(!empty($firstname) &amp;&amp; !empty($lastname) &amp;&amp; !empty($email) &amp;&amp; !empty($phone) !empty($gender) &amp;&amp; !empty($dob)) {
                $phaseOne = true;
            }
</code></pre>
