mixed File::unlock (
string $filename
,
string $mode
)
This function can be called statically.
File::unlock() の例
<?php
require_once 'File.php';
$e = File::unlock('test.txt');
if (PEAR::isError($e)) {
echo 'ファイルをアンロックできませんでした : ' . $e->getMessage();
} else {
echo "ファイル test.txt のアンロックに成功しました\n";
}
?>