← All docs

__elephc_phar_set_file_metadata() — internals

Compiler internals for __elephc_phar_set_file_metadata(): lowering path, type checks, and runtime helpers.

__elephc_phar_set_file_metadata() — internals

Where it lives

Lowering notes

  • Lowers __elephc_phar_set_file_metadata() into the per-file metadata-write bridge.
  • The single phar://archive/entry URL argument is split by the bridge, so this
  • reuses the same (url, data) -> bool shape as the archive-level metadata writer.

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function __elephc_phar_set_file_metadata(string $url, string $metadata): bool

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Not callable from eval’d code — the magician interpreter has no entry for this builtin.

Cross-references

  • No user-facing reference — this is a compiler internal helper.