Вопрос

I saw this thread after wondering if a PHP obfuscator exists. It gave me the question:

Why is it necessary to obfuscate PHP code if PHP files aren't supposed to be downloadable/"decompilable" in the first place?

Это было полезно?

Решение

It's designed to obfuscate distributed PHP code. For example, say you're selling a forum system but offer a free trial. If someone can just go in and disable the payment check, then what's the point of selling it?

Другие советы

It's true that php-code cannot be showed/downloaded directly.

But, for example, you write a software for somebody else and don't want him to change anything on your software, obfuscation makes it harder for him to understand, what your code does.

PHP obfuscation does exactly the the job of stripping comments, whitespaces, and scrambling identifiers. you get details above mention link

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top