Parse error: syntax error, unexpected '!' : <p>i am getting following error while running the code<br>
any help</p>

<pre><code>if(!$subcurpass){
        $form-&gt;setError($field, "* Current Password not entered");
     }
     else{
        $subcurpass = stripslashes($subcurpass);
        if(strlen($subcurpass) &lt; 4   
        !eregi("^([0-9a-z])+$", ($subcurpass = trim($subcurpass)))){
           $form-&gt;setError($field, "* Current Password incorrect");
</code></pre>
