<?php $arr = array('fu' => 'bar'); class Fu { public function bar() { return __METHOD__; } } $fu = new Fu(); $method = $arr['fu']; var_dump( $fu->$method() ); //string(7) "Fu::bar"
You have javascript disabled. You will not be able to edit any code.