From:             [EMAIL PROTECTED]
Operating system: n/a
PHP version:      4.2.3
PHP Bug Type:     Feature/Change Request
Bug description:  function to call class methods

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 bug report at http://bugs.php.net/?id=19654&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19654&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19654&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19654&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19654&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19654&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19654&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19654&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19654&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19654&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19654&r=globals

Reply via email to