File::readLine() -- reads a single line from a file
Uwagi
Ta funkcja może być wywołana
statycznie.
Przykład
Przykład 40-1. Using File::readLine()
<?php
require_once 'File.php';
$e = File::readLine('test.txt');
if (PEAR::isError($e)) {
echo 'Could not read from file : ' . $e->getMessage();
} else {
echo $e;
}
?>
|
|