ID: 31656 Updated by: [EMAIL PROTECTED] Reported By: sven at phoenixz dot net -Status: Open +Status: Feedback -Bug Type: *General Issues +Bug Type: Zend Engine 2 problem Operating System: Linux redhat 90 PHP Version: 5.0.3 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-01-22 21:20:22] sven at phoenixz dot net Description: ------------ On running my project, PHP reports this error during parsing: Fatal error: Access level to kernel::session_process() must be public (as in class kernel_object) in /home/asca/development/sven/phoenixz/slib/kernel_213/kernel_0.php on line 40 the line in the kernel_object that caused the problem: abstract function &session_process(); the line in the file kernel_0.php that caused the problem as well: protected function &session_process(){ (line number 241, not 40) line 40 shows the class definition class kernel extends kernel_object{ so Id think the PHP error should read: Fatal error: Access level to kernel::session_process() must be public (as in class kernel_object) in /home/asca/development/sven/phoenixz/slib/kernel_213/kernel_0.php on line 241 ** See also bug report number 23135 which was closed due to lack of information. Reproduce code: --------------- see description Expected result: ---------------- Fatal error: Access level to kernel::session_process() must be public (as in class kernel_object) in /home/asca/development/sven/phoenixz/slib/kernel_213/kernel_0.php on line 241 Actual result: -------------- Fatal error: Access level to kernel::session_process() must be public (as in class kernel_object) in /home/asca/development/sven/phoenixz/slib/kernel_213/kernel_0.php on line 40 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31656&edit=1