PHP rewind() Function
Complete PHP Filesystem Reference Manual
Definition and Usage
The rewind() function rewinds the position of the file pointer to the beginning of the file.
Returns TRUE on success, or FALSE on failure.
Syntax
rewind(file)
| Parameters | Description |
|---|---|
| file | Required. Specifies the open file. |
Example
Complete PHP Filesystem Reference Manual