diff options
Diffstat (limited to 'files/6')
| -rw-r--r-- | files/6 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +import PHPWasm from './php-wasm.js' + +const { ccall } = await PHPWasm(); +const result = ccall( + 'php_wasm_run', + 'number', ['string'], + [`echo "Hello, World!";`], +); +console.log(`exit code: ${result}`); |
