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