pub fn parse(source: &str, version: Option<String>) -> Result<JsValue, JsError>Expand description
Parse PHP source and return { ast, errors, formatted } as a JS object.
version is an optional PHP target version string like "8.4". Defaults
to the latest supported version when omitted or unrecognised.