file_put_contents achieve additional content

file_put_contents("test.txt", "This is another something.", FILE_APPEND);

FILE_APPEND: additional way to write data at the end of file

Guess you like

Origin www.cnblogs.com/jiangshiguo/p/10945473.html