Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用getDocComment()Reflection的功能来收集上述功能的评论。它适用于未加密的 php 文件。但将来我想用 Ioncube 加密 php 源,我想知道 Ioncube 是否删除了内部 php 注释。
getDocComment()
根据他们的文档,ioncube 似乎默认保留了这些评论:
3.15.3 省略文档注释 [ --no-doc-comments ] 文档注释是具有以下语法的注释: /** 我的代码注释 */ 这些注释由 PHP 5 反射 API 公开,并由 PHP 5 保留默认编码器。为了从编码文件中省略这些文档注释,请指定 --no-doc-comments 选项。