feof

(PHP 4, PHP 5, PHP 7) Tests for end-of-file on a file pointer bool feof ( resource $handle ) Tests for end-of-file on a file pointer. Parameters: handle The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen() (and not yet closed by fclose()). Returns: Returns TRUE if the file pointer is at EOF or an er

fflush

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Flushes the output to a file bool fflush ( resource $handle ) This function forces a write of all buffered output to the resource pointed to by the file handle. Parameters: handle The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen() (and not yet closed by fclose()). Retur

clearstatcache

(PHP 4, PHP 5, PHP 7) Clears file status cache void clearstatcache ([ bool $clear_realpath_cache = false [, string $filename ]] ) When you use stat(), lstat(), or any of the other functions listed in the affected functions list (below), PHP caches the information those functions return in order to provide faster performance. However, in certain cases, you may want to clear the cached information. For instance, if the same

delete

See unlink() or unset() This is a dummy manual entry to satisfy those people who are looking for unlink() or unset() in the wrong place. See also: unlink() - unset() -

copy

(PHP 4, PHP 5, PHP 7) Copies file bool copy ( string $source, string $dest [, resource $context ] ) Makes a copy of the file source to dest. If you wish to move a file, use the rename() function. Parameters: source Path to the source file. dest The destination path. If dest is a URL, the copy operation may fail if the wrapper does not

disk_free_space

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns available space on filesystem or disk partition float disk_free_space ( string $directory ) Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition. Parameters: directory A directory of the filesystem or disk partition. Note: Given a file

dirname

(PHP 4, PHP 5, PHP 7) Returns a parent directory's path string dirname ( string $path [, int $levels = 1 ] ) Given a string containing the path of a file or directory, this function will return the parent directory's path that is levels up from the current directory. Parameters: path A path. On Windows, both slash (/) and backslash (\) are used as directory separator c

chmod

(PHP 4, PHP 5, PHP 7) Changes file mode bool chmod ( string $filename, int $mode ) Attempts to change the mode of the specified file to that given in mode. Parameters: filename Path to the file. mode Note that mode is not automatically assumed to be an octal value, so to ensure the expected operation, you need to prefix mode with a zero

chown

(PHP 4, PHP 5, PHP 7) Changes file owner bool chown ( string $filename, mixed $user ) Attempts to change the owner of the file filename to user user. Only the superuser may change the owner of a file. Parameters: filename Path to the file. user A user name or number. Returns: Returns TRUE on success or FALSE on

chgrp

(PHP 4, PHP 5, PHP 7) Changes file group bool chgrp ( string $filename, mixed $group ) Attempts to change the group of the file filename to group. Only the superuser may change the group of a file arbitrarily; other users may change the group of a file to any group of which that user is a member. Parameters: filename Path to the file. group