cleanup, docs
This commit is contained in:
@@ -12,7 +12,6 @@ file_name : file name of file that should be written to
|
||||
Opens or creates a file and appends data to it.
|
||||
|
||||
The append transparently takes an exclusive file lock for the duration of the append operation. Concurrent writers are serialized, and `file_get_contents()` waits for in-progress writes to finish; callers do not manage locks manually.
|
||||
## Related Concepts
|
||||
|
||||
- PHP: `file_put_contents($file, $data, FILE_APPEND)`
|
||||
- JavaScript / Node.js: Node `fs.appendFileSync()` or `fs.promises.appendFile()`
|
||||
:example
|
||||
print("file_append example\n");
|
||||
|
||||
Reference in New Issue
Block a user