ID: 19654 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Feature/Change Request Operating System: n/a PHP Version: 4.2.3 New Comment:
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". Previous Comments: ------------------------------------------------------------------------ [2003-02-08 13:20:51] [EMAIL PROTECTED] Did you mean the same thing as how this script works? <?php class test { function foo() { echo "foo\n"; } function bar() { echo "bar\n"; } } call_user_func(array('test', 'foo')); call_user_func(array('test', 'bar')); ?> ------------------------------------------------------------------------ [2002-09-28 17:30:46] [EMAIL PROTECTED] We have $$objname->$methodname() for dinamic method calls, and even call_user_func(array(&$$objname, $methodname), but we have no $classname::$methodname() or call_class_method($classname, $methodname) or anything like this. It would be nice to call class methods dinamicaly, as many times classes are used for namespace resons, and there is no need to have instances of them. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19654&edit=1