0
<?php @Zend;
4123;
/* !This is not a text file!

print <<<EOM

//here goes some zend html code for information

exit();
__halt_compiler();

//here goes the binary data, instead of php code

我已经从主机下载了一个要查看/编辑的文件,我看到了这个....许多 php 文件被二进制数据损坏,所以我无法编辑它,我不知道如何解决这个问题,或者我怎样才能解码这个二进制数据?

4

1 回答 1

1

您打开的文件是二进制文件而不是文本文件。

这就是为什么没有源代码的原因。

您可以通过联系该文件的原作者获得源代码。

顺便说一句,文件没有损坏。它只是人类无法阅读和编辑。

另请参阅:解码使用 'zend guard' 编码的 PHP

于 2012-09-01T10:20:05.693 回答