将 PHP 文件转换为二进制文件

2022-01-09 00:00:00 binary php

是否可以将 PHP 文件转换为二进制文件并部署在网络服务器上?

Is it possible to convert a PHP file to binary and deploy it on a webserver?

推荐答案

由于 PHP 是一种(相对)可移植的语言,将 PHP 源代码编译为字节码而不是二进制代码更为可取.为此,有一个名为 bcompiler 的实验项目.

Since PHP is a (relatively)portable language, compiling PHP source to bytecode instead of binary code is more preferable. For this purpose there is an experimental project called bcompiler.

相关文章