Pular para o conteúdo principal

resolvePHPExtension

Callable


  • Resolves an extension source without mutating a PHP instance. Use this from runtimes that need to fetch extension bytes and compute iniPath/iniContent before Emscripten initializes PHP.

    Manifest-declared extra files are joined with their group's vfsRoot so the returned extraFiles always uses absolute VFS paths.

    TODO: Remove the remote manifest.json resolution and move it to Blueprints where the paths can be validated and downloads scheduled using the same code paths as we do for all other paths and URLs.


    Parameters

    Returns Promise<ResolvedPHPExtension>