Gen. partnerAlgotech

PHP function rewind()

Rewind the position of a file pointer

|
September 11, 2019

Availability in PHP 4.0

Rewind the position of a file pointer

Parameters

Parameter Data type Default value Note
$handle resource not The file pointer must be valid, and must point to a file successfully opened by fopen.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official documentation for rewind

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.