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