cleanup, docs
This commit is contained in:
@@ -13,7 +13,6 @@ return value : true if write was successful
|
||||
Writes `content` into the file identified by `file_name`, overwriting any pre-existing content.
|
||||
|
||||
The write transparently takes an exclusive file lock for the duration of the truncate-and-write 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()`
|
||||
- JavaScript / Node.js: Node `fs.writeFileSync()` or `fs.promises.writeFile()`
|
||||
:example
|
||||
print("file_put_contents example\n");
|
||||
|
||||
Reference in New Issue
Block a user