开发者

Programmatically check if method is public [duplicate]

This question already has answers here: Closed 11 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜