T_object_operator error
<p>I'm trying to understand why I am getting a unexpected T_object_operator error from this function and not sure why. It says its line 34 and on line 34 is the start of the function.</p>

<pre><code>public function is_user_locked($user_data-&gt;lock_date)
{
    if ($user_data-&gt;lock_date !== '0000-00-00 00:00:00')
    {
        /* User is locked out */

        if (strtotime(gmdate('Y-m-d H:i:s', time())) &lt; strtotime($user_data-&gt;lock_date))
        {
            /* User is still locked out */
            return TRUE;
        }
        else
        {
            /* User is no longer locked out */
            return FALSE;
        }

    }
}
</code></pre>
