PHP 8.1.28 Released!


deleteSee unlink() or unset()


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 note

User Contributed Notes

There are no user contributed notes for this page.
To Top