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