我知道已经有一些关于此的主题,但没有人正确回答。是否有任何工具或源可以将 php 文件或 php 源加密为人们无法读取的字节码或二进制代码。
更多线索是,有一些 PHP 文件,当您尝试在 Linux 中打开它时,它会给您一条消息,指出“此文件可能是二进制文件,您想查看它吗”。
另外,我听说有人说加密的 PHP 文件比普通的 PHP 文件快得多,这是真的吗?如果是的话,有人测量过差异吗?
I know there were few topics written already about this but no one answered it correctly. Is there any tool or source that encrypt (or other name) php files or php source into bytecode or binary code that can't be read by people.
Some more clue will be, there are some PHP files when you trying to open it in linux it gives you a message stating "this file might be in binary would you like to view it".
Also, I 'v heard from someone that encrypted PHP files are much faster than normal php, is this true and if so, has anyone measured the difference yet?
发布评论
评论(2)
有几个引擎可以提供良好的加密,例如 Zend Guard,但它们永远不会是 100 % 受保护。
至于性能,从我看来,我认为它不会更快,因为它必须解密并运行脚本。
there are several engines that provide a good encryption like Zend Guard, but they are never 100% protected.
as for performance, from my opinion I don't think it will be faster as it has to decrypt and the run the scripts.
您可以使用 ioncube 或 Zend Guard 但还有其他......
You can use php encoder from ioncube or Zend Guard but there are others....