Can I encrypt PHP source or compile it so others can't see it? and how?

前端 未结 7 657
无人及你
无人及你 2020-11-29 06:56

I need to encrypt some PHP source that I\'ve released to the public.

Is this possible? Can PHP be \"compiled\" ?

7条回答
  •  盖世英雄少女心
    2020-11-29 07:45

    You can have a look at phc which can generate executables from PHP. It also has some other options to create C-code, XML, optimized PHP, etc. from the original PHP source.

提交回复
热议问题