开发者

regExp for methods and class names

I want to print all class names and methods for a PHP specific f开发者_JS百科ile. Here's the pattern:

public function methodName()
class className extends anotherClassName{

Desired output:

methodName
className


What about using Reflection?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜