Edit report at http://bugs.php.net/bug.php?id=51868&edit=1
ID: 51868 Updated by: m...@php.net Reported by: frame at mudox dot de Summary: Possible memleak detected -Status: Open +Status: Feedback Type: Bug Package: Class/Object related Operating System: Windows/Unix PHP Version: Irrelevant New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2010-05-20 09:36:27] frame at mudox dot de Description: ------------ Unfortanley, I cannot reproduce the code (expect I can send you the files) so I can just describe whats going on: I have registered a loader for some classes. These classes are container for holding further classes of the same type. A simple tree structure. Last I changed some static function in the class and wrote instead of the self-keyword the classname, which also should work. e.g.: self::myfunction() to myclass::myfunction() But the result was depending on script line and method after executing the affected class method: "class not found in line 0" or (the same class was loaded few line before without problems) "undefined class constant xzy in line 0" (which was actually defined) Changing the classname-word to self has solved the problem. I have testing the script on Windows 5.3.0 and Unix 5.2.6 with the same result. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51868&edit=1