|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-22 21:24 UTC] tony2001@php.net
[2005-02-10 23:24 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 00:00:02 2025 UTC |
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