阅读背景:

如何在PHP中阅读注释块?

来源:互联网 

I'm doing some home-brewed automated documentation, since I have a codebase which is not very standard in its layout, and I was wondering what the best way was to read a PHP file and grab the contents of a comment block. The only way I can think to do it is to open the file and read it line-by-line, but thought that maybe there was some built-in magic that would parse the document for me, similar to the Reflection functions.I'm doing some home-brewed automated documentat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: