开发者

Programmatically check if method is public [duplicate]

开发者 https://www.devze.com 2023-04-01 02:55 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to check if a function is public or protected in PHP
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

精彩评论

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