← All docs

__elephc_phar_list_entries() — internals

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

__elephc_phar_list_entries() — internals

Where it lives

Lowering notes

  • Internal helper used by the built-in Phar / PharData support to enumerate archive entries.
  • Calls the native PHAR listing bridge and returns the entries as an array.

Runtime helpers

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

Signature summary

function __elephc_phar_list_entries(string $filename): array

What the type checker enforces

  • Arity: takes exactly 1 argument.

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.