← All docs

isset()

Determines whether a variable is set and is not null.

isset()

function isset(mixed $var, ...$vars): bool

Determines whether a variable is set and is not null.

Parameters:

  • $var (mixed)
  • ...$vars — variadic: collects excess arguments into $vars.

Returns: bool

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

Internals

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