且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PHP第一次将字符串写入新行,而不是在文件末尾

更新时间:2022-04-04 07:43:43

对此write_file()函数了解不多,但是按照您所说的,这应该可以工作:

Not knowing much about this write_file() function, but given what you said, this should work :

write_file("path_to_file", "\n"."String four"."\n", "a+")