PEAR Manual
Prev |  | Next

# File::writeLine()

File::writeLine() -- writes a single line to a file

## Synopsis

    require_once 'File.php';

``mixed File::writeLine` (string $filename, string $line [, string $mode = `FILE_MODE_APPEND` [, string $crlf = "\n" [, mixed $lock = `FALSE`]]])`

## Description

## Parameter

## Return value

## Throws

## Note

This function can be called statically.

## See

## Example

Example 38-1. Using File::writeLine()
    <?php
    require_once 'File.php';

    ?>

Prev | Home | Next
File::writeChar() | Up | File_Find