Skip to main content

Crate php_wasm

Crate php_wasm 

Source

Functionsยง

build_commit
Short git commit hash captured at WASM build time, e.g. "a1b2c3d".
format
Pretty-print PHP source without returning the AST.
parse
Parse PHP source and return { ast, errors, formatted } as a JS object.
parser_version
Crate version from Cargo.toml, e.g. "0.9.4".