Function
file_put_contents
Synopsis
file_put_contents(string, string, int ...): mixed
- Area
Runtime\PS\Files\file_put_contentsareas
Description
file_put_contents writes $data to $filename and returns the number of bytes written, or false on failure; FILE_APPEND appends in place of truncating, LOCK_EX does nothing, and it refuses a path outside writable_paths.
Usage
$value = file_put_contents($arguments);
$fn = file_put_contents(...);