← All docs

var_dump()

Dumps information about a variable, including its type and value.

var_dump()

function var_dump(mixed $value, ...$values): void

Dumps information about a variable, including its type and value.

Parameters:

  • $value (mixed)
  • ...$values — variadic: collects excess arguments into $values.

Returns: void

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how var_dump is implemented in the compiler, see the internals page.