From: Operating system: Windows/Unix PHP version: Irrelevant Package: Class/Object related Bug Type: Bug Bug description:Possible memleak detected
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 bug report at http://bugs.php.net/bug.php?id=51868&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51868&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51868&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51868&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51868&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51868&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51868&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51868&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51868&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51868&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51868&r=support Expected behavior: http://bugs.php.net/fix.php?id=51868&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51868&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51868&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51868&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51868&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51868&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51868&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51868&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51868&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51868&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51868&r=mysqlcfg