unset

unset -- Unset a given variable

Description

int unset(mixed var);

unset() destroys the specified variable and returns true.

Example 1. unset() example

unset( $foo );
unset( $bar['quux'] );
      

See also isset() and empty().