How to i get content of a method -


ex: have code:

class foo {   function bar() {     echo 'hello';   } } 

i want has function

$func = new foo();  echo getcontentmethod($func, 'bar'); //out put : echo 'hello'; 

please me! thank you!


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -