empty()
function empty(mixed $value): bool
Determines whether a variable is considered empty.
Parameters:
$value(mixed)
Returns: bool
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/empty.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how empty is implemented in the compiler, see the internals page.