ID: 30009 User updated by: onore at ua dot fm Reported By: onore at ua dot fm Status: Bogus Bug Type: Zend Engine 2 problem Operating System: Windows XP PHP Version: 5.0.1 New Comment:
This is code work at PHP 4.3.5; Previous Comments: ------------------------------------------------------------------------ [2004-09-07 13:42:31] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . ------------------------------------------------------------------------ [2004-09-07 13:35:44] onore at ua dot fm line #14 if( ($this->Visible = (CheckS("3") == "success")) ) ------------------------------------------------------------------------ [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
