Note:
如果使用附加模试(a 或 a+),任何写入文件数据都会被附加上去,而文件的位置将会被忽略,调用 fseek() 的结果尚未定义。
Note:
Not all streams support seeking. For those that do not support seeking, forward seeking from the current position is accomplished by reading and discarding data; other forms of seeking will fail.
这个是PHP文档里的原话,如果打开的模式是 a 或 a+ 的的话都是会被附加上去,而不是从指针处开始写