Menu Samaritan's Purse

UNSET

Unset a given variable

SYNTAX

unset ( mixed $var [, mixed $... ] ) : void

PARAMETERS

var

The variable to be unset.

...

Another variable ...

RETURN

No value is returned.

EXAMPLES

1

NULL

2

NULL
NULL
NULL

3

NULL

4

Array
(
    [0] => 0
    [2] => 2
)

5

Array
(
    [a] => 0
    [c] => 2
)

PHP