Programmatically check if method is public [duplicate]
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?
http://www.php.net/manual/en/function.is-callable.php
精彩评论