file_put_contents()
The file_put_contents() function writes a string to a file. This is useful for writing data to files.