parent root
PHP: delete - Manual

delete

deleteSee unlink() or unset()

Description

There is no delete keyword or function in the PHP language. If you arrived at this page seeking to delete a file, try unlink(). To delete a variable from the local scope, check out unset().

See Also

add a noteadd a note

User Contributed Notes 1 note

up
-22
Edward Morgan
6 years ago
Unlink refers to the underlying UNIX command, unlink, which removes the symbolic or hard link to the file, not necessarily the file itself. The file is only removed when all links to the file are removed.
To Top
parent root