Skip to content

Commit d2e8046

Browse files
authored
Create README.md
1 parent d301214 commit d2e8046

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# php.js
2+
采用 locutus 生成浏览器可引入 php.js
3+
4+
#### 生成方式
5+
6+
采用 browserify 对 locutus 进行生成浏览器端可执行 php.js 文件
7+
8+
引入 locutus
9+
```
10+
npm install locutus
11+
```
12+
13+
引入全局 browserify
14+
```
15+
npm install -g browserify
16+
```
17+
18+
修改 construct.js 文件
19+
20+
browserify construct.js -o php.js
21+
22+
#### 注意事项
23+
24+
var 类进行调整为 php_var
25+
array 类属于保留关键字,可根据自身需要重新编译新引入名

0 commit comments

Comments
 (0)