ID: 19399 Comment by: oracle dot shinoda at gmail dot com Reported By: fclever at verinform dot com Status: No Feedback Bug Type: Scripting Engine problem Operating System: Linux & Win2000 PHP Version: 4.2.3 New Comment:
Actually, I have found one reason why it may not work: I was referring to a member variable ($this->_db) inside my static call!! This should throw a fatal error, not a bug report warning, though I see that you won't be fixing it since PHP5 is out and you won't fix bugs in PHP4's OO support unless they occur in PHP5. I don't have access to PHP5 so I can't tell if it is a problem there or not. Previous Comments: ------------------------------------------------------------------------ [2005-05-29 11:49:02] oracle dot shinoda at gmail dot com If I change the DB::isError calls to $this->_db->isError, the script runs correctly, which is why I suggested the double-static method call being a problem. Thank goodness for PHP4's lazy OO implementation, else I'd be stuck with a massive refactoring job now! ------------------------------------------------------------------------ [2005-05-29 11:41:43] oracle dot shinoda at gmail dot com I have experienced this error on php 4.3.11 installed via Debian APT. I was calling DB::isError from PEAR inside another static method (Release::create), that I had written myself. Perhaps calling a static method from within another static method is causing this problem? I haven't got time to build a test suite though... ------------------------------------------------------------------------ [2003-08-16 09:36:19] rct_sixflags2 at hotmail dot com i get it al so on windows me this is the furst php bug that badders me :( ------------------------------------------------------------------------ [2002-12-24 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-12-08 10:47:45] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I can not reproduce this with PHP 4.3.0-dev.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19399 -- Edit this bug report at http://bugs.php.net/?id=19399&edit=1