|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-17 02:03 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2010-06-17 02:03 UTC] felipe@php.net
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 11:00:01 2025 UTC |
Description: ------------ Code below demonstrates how to produce the bug. I get to error log a very obscure error: [Wed Jun 16 15:50:26 2010] [error] [client 127.0.0.1] PHP Fatal error: Class 'slm\\util\\Logger' not found in [..]/a.php on line 160 As a note, there is no call to Logger in this class. Test script: --------------- namespace foo { class A { public function meh($is = true) { } } } namespace bar { class B extends /foo/A { public function meh() {} } } Expected result: ---------------- B::meh() to override A::meh() Actual result: -------------- No output and very strange error to the system log: [Wed Jun 16 15:50:26 2010] [error] [client 127.0.0.1] PHP Fatal error: Class 'slm\\util\\Logger' not found in [..]/a.php on line 160