Object function reference
append
A reference entry for append
append(string contents) ⇒ boolean
Provides the append operation for this object.
Example
YASS
$file->append("A new line.")
Notes
Use append when text should be added to the end of the file rather than replacing its contents.