Name

unset

Synopsis

void unset(mixed name[, mixed name2[, ... mixed nameN]])

Removes the given variables entirely; PHP will no longer know about the variables, even if they previously had values.

Get Programming PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.