previousFile::buildpath() (Previous) (Next) File::getTempDir()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File::close()

File::close() – オープンしているファイルポインタを閉じる

Synopsis

require_once 'File.php';

mixed File::close ( string $filename , string $mode )

Description

Parameter

Return value

Throws

Note

This function can be called statically.

See

Example

File::close() の使用

<?php
require_once 'File.php';

$e File::close('test.txt'FILE_MODE_WRITE);

if (
PEAR::isError($e)) {
    echo 
'ファイルがクローズできなせんでした : ' $e->getMessage();
} else {
    echo 
"ファイル test.txt のクローズに成功しました\n";
}
?>
previousFile::buildpath() (Previous) (Next) File::getTempDir()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.