PHP extensions in JavaScript 项目地址:https://github.com/kvz/locutus   直接下载:php.js   npm 安装 npm install locutus Use vim index.js var sprintf = require('locutus/php/strings/sprintf') var echo = require('locutus/php/strings/echo') var effectiveness = 'futile' echo(sprintf('Resistance is %s', effectiveness)) var strings = require(… Read More