适用于本机客户端(NaCl)的PHP [英] PHP for Native Client (NaCl)

查看:101
本文介绍了适用于本机客户端(NaCl)的PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何项目将php移植到本地客户端? 我找不到任何东西.

Are there any projects porting php to native client? I haven't been able to find any.

我的目的是进行php lint检查,而不必往返服务器.

My aim is to do php lint checking without having to make round-trips to the server.

推荐答案

我最终使用php.js在浏览器中检查了PHP. http://phpjs.hertzen.com/

I ended up using php.js to lint check PHP in the browser. http://phpjs.hertzen.com/

PHP.js是用Java编写的PHP虚拟机.它可以工作,但不是完美的解决方案,因为某些语法已过时.我认为NaCl解决方案可能会更好,因为我认为它将更易于维护.但是与此同时,这是我能找到的最好的结果.

PHP.js is a PHP vm written in Javascript. It works but is not a perfect solution as some of the syntaxes are out of date. An NaCl solution would probably be better as I assume it would be easier to maintain. But in the mean-time this is the best I could find.

这篇关于适用于本机客户端(NaCl)的PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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