← All docs

array_product() — internals

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

array_product() — internals

Where it lives

Lowering notes

  • Lowers array_product() over supported indexed-array payloads.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_array_product

Signature summary

function array_product(array $array): int

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references