unset

(unknown)

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().