File::rewind() -- rewinds a file pointer
Заметка
Эта функция может быть вызвана статически.
Пример
Пример 39-1. Using File::rewind() <?php
require_once 'File.php';
$e = File::rewind('test.txt', FILE_MODE_READ);
if (PEAR::isError($e)) {
echo 'Could not rewind the file : ' . $e->getMessage();
} else {
echo "File test.txt successfully rewound\n";
}
?> |
|
HIVE: All information for read only. Please respect copyright! |
|