5

Possible Duplicate:
How to check if a function is public or protected in PHP

Is there a function that checks if giver method of given class is public?

I know method_exists(), but it does not work how I want to. If there isn't how can I check that?

Community
  • 1
  • 1
Nikolay
  • 89
  • 1
  • 3
  • 1
    What about that? http://stackoverflow.com/questions/4160901/how-to-check-if-a-function-is-public-or-protected-in-php – Quasdunk Sep 01 '11 at 16:27

1 Answers1

2

http://www.php.net/manual/en/function.is-callable.php

dqhendricks
  • 19,030
  • 11
  • 50
  • 83