unset()
function unset(mixed $var, ...$vars): void
Unsets the given variables.
Parameters:
$var(mixed)...$vars— variadic: collects excess arguments into$vars.
Returns: void
Availability
- Compiled (AOT): supported through a dedicated compiler language-construct path.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/symbols/unset.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how unset is implemented in the compiler, see the internals page.