← All docs

__elephc_phar_set_compression() — internals

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

__elephc_phar_set_compression() — internals

Where it lives

Lowering notes

  • Internal helper used by the built-in Phar / PharData support to change archive compression.
  • Calls the native PHAR compression-control bridge and returns whether the update succeeded.

Runtime helpers

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

Signature summary

function __elephc_phar_set_compression(string $filename, int $compression): 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.