What is the use of the function html entities?

Html entities Convert all applicable characters to HTML entities This function is identical to Html specialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities.How to delete a file from the system Unlink() deletes the given file from the file system.