将 PHP 文件转换为二进制文件 [英] Convert PHP file to binary

查看:34
本文介绍了将 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.

这篇关于将 PHP 文件转换为二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆