WASI 0.2 · Preview 2

TypePHP
Browser Lab

同一个由 PHP、PHPX 与 TypePHP 静态链接的 Component,在浏览器 Worker 中直接执行。

配置本次运行

Ready

Runtime

等待运行

Clock

WASI wall clock

Secure random

WASI random

Filesystem

Memory FS + OPFS snapshot

HTTP fetch

file_get_contents() + WASI HTTP

参数、环境与标准流

argv
env
stdin

高精度计算

BigInt
Decimal
BigFloat

静态编译的 PHP 扩展

等待运行
由 get_loaded_extensions() 动态读取
选择一个扩展 点击上方扩展名称,由 JavaScript 调用 Wasm 导出函数读取详情。
Raw component outputstdout / stderr
尚未运行。