| undef-directive: | undef [private | protected | public] <ident> |
Undefines (removes) a variable or user defined function. If no visibility (public, protected, or private) is specified, the default visibility is used.
The main script and files included using file are an exception. Until the script or file sets a default visibility or calls a user defined procedure, undef without a visibility removes the most recently defined accessible variable or user defined function with the given name, regardless of its visibility.
#undef MyVar
#undef MyFunction
#undef
public MyVar