문제

I would like to use the getDocComment() function of Reflection to collect the comments above functions. It works well with unencrypted php files. But in the future I would like to encrypt the php sources with Ioncube and I'm wondering whether Ioncube removes internal php comments or not.

도움이 되었습니까?

해결책

It seems that ioncube leaves intact those comments by default, according to their documentation:

3.15.3 Omitting Documentation Comments [ --no-doc-comments ] Documentation comments are comments with the following syntax: /** My code comment */ These comments are exposed by the PHP 5 reflection API, and are preserved by the PHP 5 Encoder by default. In order to omit these documentation comments from encoded files specify the --no-doc-comments option.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top