ID:               30009
 User updated by:  onore at ua dot fm
 Reported By:      onore at ua dot fm
 Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows XP
 PHP Version:      5.0.1
 New Comment:

line #14 if( ($this->Visible = (CheckS("3") == "success")) )


Previous Comments:
------------------------------------------------------------------------

[2004-09-07 13:34:17] onore at ua dot fm

Description:
------------
See reproduce code, error:
Fatal error: Using $this when not in object context in
C:\Apache\Apache2\htdocs\xxx\admin_start_events.php on line 14




Reproduce code:
---------------
function admin_start()
{
    $admin_start_BeforeShow = true;
    global $admin_start;

        if( ($this->Visible = (CheckS("3") == "success")) )
        {
                $admin_start->Visible = true;
                
        } else {
                $admin_start->Visible = false;
        }
    return $admin_start;
}




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30009&edit=1

Reply via email to