ID: 30976 Updated by: [EMAIL PROTECTED] Reported By: php at pollensoft dot com -Status: Feedback +Status: No Feedback Bug Type: Scripting Engine problem Operating System: Win2k PHP Version: 4.3.9 New Comment:
No feedback was provided for this bug for over a week, 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". Previous Comments: ------------------------------------------------------------------------ [2004-12-03 16:05:41] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-12-03 15:57:21] php at pollensoft dot com sorry, actual result should say: Warning: Problem with method call - please report this bug in <path to file> on line <line number> constructor staticMethod ------------------------------------------------------------------------ [2004-12-03 15:56:24] php at pollensoft dot com Description: ------------ Calling a static method, ie: ClassName::staticMethod(); Generates the following error: Warning: Problem with method call - please report this bug in <path to file> on line <line number> The output is correct, the method seems to function normally, but the warning is generated. This happens with any static method call. I think the warning just needs to be removed unless there's something really low level that's going on that not affecting code compilation or runtime. Reproduce code: --------------- <? class tmp { function tmp() { echo "constructor"; } function staticMethod() { echo "staticMethod"; } } $t = new tmp(); tmp::staticMethod(); ?> Expected result: ---------------- constructor staticMethod Actual result: -------------- constructor staticMethod ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30976&edit=1