PHP delete() Function
There is no delete keyword or function in the PHP language.
- To delete a file, look at the unlink() function.
- To delete a variable from the local scope, the unset() function can be used.
❮ PHP Filesystem Reference
There is no delete keyword or function in the PHP language.