| 
 | SplFileObject::fseekSeek to a position Description
   public int SplFileObject::fseek
    ( int  $offset[, int$whence= SEEK_SET
  ] )
   Seek to a position in the file measured in bytes
   from the beginning of the file, obtained by adding
    Parameters
 
 Return ValuesReturns 0 if the seek was successful, -1 otherwise. Note that seeking past EOF is not considered an error. Examples
 Example #1 SplFileObject::fseek example 
<?phpSee Also
 
 |