File System¶
A file system is a method or structure used by operating systems to organize, store, and manage files and data on storage devices such as hard drives, solid-state drives, USB drives, and network-attached storage. It provides a logical and efficient way to store and retrieve data on these storage media.
<?php
file_put_contents('file.txt', 'some text.');
?>
See also File system.
Related : File, Dir, Link, DIRECTORY_SEPARATOR, RecursiveDirectoryIterator, SplFileInfo
Related packages : league/flysystem, symfony/filesystem, nette/finder