PHP rewind() 函数
PHP 教程
· 2019-01-25 15:12:19
定义和用法
rewind() 函数将文件指针的位置倒回文件的开头。
如果成功,该函数返回 TRUE。如果失败,则返回 FALSE。
语法
rewind(file)
| 参数 | 描述 |
|---|---|
| file | 必需。规定已打开的文件。 |
实例
<?php
$file = fopen("test.txt","r");
//Change position of file pointer
fseek($file,"15");
//Set file pointer to 0
rewind($file);
fclose($file);
?>
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Thirty-three Miniatures
Jiří Matoušek / American Mathematical Socity / 2010-6-18 / USD 24.60
This volume contains a collection of clever mathematical applications of linear algebra, mainly in combinatorics, geometry, and algorithms. Each chapter covers a single main result with motivation and......一起来看看 《Thirty-three Miniatures》 这本书的介绍吧!