Commit 8964d1b
committed
[PHP] Include CLI SAPI in the web PHP.wasm build
This PR ships the web wasm binaries with the `run_cli` C function that
enables calling php.cli(). Intertwining the CLI SAPI usage with the web
SAPI usage was impractical before #2559, but now we can easily call
`await php.cli(); await php.run()` on the same PHP instance.
Note this PR does not expose the `.cli()` method to the public yet. It
only ships the updated WASM binaries to unlock that.
## Testing instructions
CI1 parent f0e4956 commit 8964d1b
File tree
35 files changed
+52
-52
lines changed- packages/php-wasm
- compile
- universal/src/lib
- web/public/php
- asyncify
- 7_2_34
- 7_3_33
- 7_4_33
- 8_0_30
- 8_1_33
- 8_2_29
- 8_3_25
- 8_4_12
- jspi
- 7_2_34
- 7_3_33
- 7_4_33
- 8_0_30
- 8_1_33
- 8_2_29
- 8_3_25
- 8_4_12
35 files changed
+52
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | | - | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments