Creates a new file
static public write ( string $file, mixed $content, boolean $append = false ) : boolean | ||
$file | string | The path for the new file |
$content | mixed | Either a string or an array. Arrays will be converted to JSON. |
$append | boolean | true: append the content to an exisiting file if available. false: overwrite. |
Résultat | boolean |