undefined function when function is present
<p>I have a PHP class that looks like this:</p>

<pre><code>class userAuthentication
{
    public static function Authenticate()
    {
        if (isset($_COOKIE['email']))
        {
            verify($someVar, getPass($_COOKIE['email']);
        }
    }

    public static function getPass($email)
    {
    }

    public static function verify()
    {
    }
}
</code></pre>

<p>At times (I can't pin-point exactly when), I get a fatal error :</p>

<pre><code>Call to undefined function getPass()
</code></pre>

<p>The error is thrown at the line where I call the function in the above code sample. Why is this happening when the function clearly exists.</p>
